Simple Ants simulator
Very simple ants simulator.
In order to compile this project you will need to:
Detailed explanation here
install.shcd the/repo/location
install.sh script./install.sh
install_from_docker.sh scriptdocker build -t myimages/ant-simulator:latest .
docker create -it --name dummy myimages/ant-simulator:latest bash
docker cp dummy:/AntSimulator/build/AntSimulator .
rm -rf build/
mkdir build/
mv AntSimulator build/
cp -r res/ build/
docker rm -f dummyExecutable files will be located in the build folder.
Install the right SFML version or compile it (see this)
Run CMake
Select the repo location
Click on Configure, if you have installed the x64 version of SFML, in the pop up window select x64 in the Optionnal 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 |
No open issues yet, or sync has not completed.