johnBuffer / AntSimulator

Simple Ants simulator
MIT License
2.25k stars 280 forks source link
2d cpp realtime sfml simulation

AntSimulator

Very simple ants simulator.

Installation

Prerequisites

In order to compile this project you will need to:

Compilation

Detailed explanation here

On Linux with install.sh

cd the/repo/location

./install.sh

On Ubuntu from Docker

On Windows with CMake GUI and Visual Studio

Cmake 1

Cmake 2

Cmake 3

Commands

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