Very simple ants simulator.
In order to compile this project you will need to:
- have SFML installed on your system. If you don't know how to do it see this link.
- have CMake installed
Detailed explanation here
- Go in the repo folder
cd the/repo/location
- Execute
install.sh
script
./install.sh
- Install the right SFML version or compile it (see this)
- Run CMake
- Select the repo location
- Click on
Configure
, if you have installed thex64
version of SFML, in the pop up window selectx64
in theOptionnal platform for generator
drop down
- Click on
Finish
- Click on
Generate
- You can now open the generated project and build it.
Command | Action |
---|---|
P | Pause/Unpause the simulation |
M | Toggle markers drawing |
A | Toggle ants drawing |
S | Toggle max speed mode |
W | Toggle Wall mode |
E | Toggle Wall erase mode |
Right click | Add food |
Left click | Move view |
Wheel | Zoom |