Heavily inspired by RoboCode. Program robots in Haskell and watch them fight.
Each robot runs in the Robo monad, which only allows access to a limited set of actions to control the robot and interact with the world around it.
Clone this repository with
git clone https://github.com/bch29/robo-monad
then navigate into the robo-monad
directory and run
stack build && stack exec robo-demo
to see the demo!
For now there are very few in-game controls:
- '+' to increase the simulation speed (by 10 steps per second)
- '-' to decrease the simulation speed (by 10 steps per second)
- Make multiple rounds, keeping track of victories
- Add collisions between robots
- Add a facility to allow robots to save data to files