bch29 / robo-monad

Heavily inspired by RoboCode. Program robots in Haskell and watch them fight.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RoboMonad

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.

Running

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!

Controls

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)

Roadmap

  • Make multiple rounds, keeping track of victories
  • Add collisions between robots
  • Add a facility to allow robots to save data to files

About

Heavily inspired by RoboCode. Program robots in Haskell and watch them fight.

License:GNU General Public License v3.0


Languages

Language:Haskell 100.0%