Skip to content

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

License

Notifications You must be signed in to change notification settings

bch29/robo-monad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published