A fire spreads across a field, and bots form bucket brigade lines to douse the fire.
This step sets up the core data and spawns the field, the bots, the ponds of water around the field, and the buckets on the field.
This step adds code to spread the fire. Three solutions are demonstrated:
- A single-threaded solution running on the main thread.
- A single-threaded solution running in a job.
- A parallel-threaded solution running in a job.
This step adds behiour to the bots, who are organized into teams. Each team forms a line between a pond and the closest fire. A bucket is filled at the pond and then passed up the line.
This step replaces the bot capsules with animated characters. A UI HUD element displays the total count of fires that have been doused. Clicking a HUD button triggers repositioning of the bucket brigade lines.