프로젝트
GitHub에서 보기 On Linux with
johnBuffer/AntSimulator
소개
간단한 개미 시뮬레이터
과학 및 공학측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- +1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalAntSimulator
Very simple ants simulator.
Installation
Prerequisites
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
Compilation
Detailed explanation here
On Linux with install.sh
- Go in the repo folder
cd the/repo/location
- Execute
install.shscript
./install.sh
On Ubuntu from Docker
- Install Docker (see this)
- Execute
install_from_docker.shscript
docker 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 dummy
Executable files will be located in the build folder.
On Windows with CMake GUI and Visual Studio
- Install the right SFML version or compile it (see this)
- Run CMake
- Select the repo location
- Click on
Configure, if you have installed thex64version of SFML, in the pop up window selectx64in theOptionnal platform for generatordrop down
- Click on
Finish - Click on
Generate
- You can now open the generated project and build it.
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 |
관련 프로젝트 살펴보기
불러오는 중…