RiskyBoids

RiskyBoids

I created RiskyBoids to learn C#, practice the Object-Oriented paradigm, and create a more substantial piece of work for my portfolio.

Intersection-based testing is used to detect future collisions so that the boid ships can avoid any planets in their path. Originally I wrote a collision handling system so that boids would collide with each other gracefully, though later decided to remove it because it looked cool to have the swarms flow around the planets, like water in a stream; rather than have the ships bouncing off each other.

 

Rules:

  • Every ship that hits a neutral planet will attack it, decreasing its population.
  • If you attack a planet with 0 population, you take control of the planet
  • You can send your ships between your own planets to redistribute your forces
  • Occupied planets will grow in population over time

Controls:

  • Left click to select a planet
  • Left drag to create a selection box
  • Right click to send ships from selected planets to the planet under the mouse
  • 0..9 Change the percent of ships to send in a dispenser (0 is 100%)


Files