MyGit
🚩收到GitHub仓库的更新通知

johnBuffer/AntSimulator

Fork: 281 Star: 2213 (更新于 2024-05-09 09:38:02)

license: MIT

Language: C++ .

Simple Ants simulator

最后发布版本: v4.2 ( 2022-03-04 01:55:01)

GitHub网址

✨免费申请网站SSL证书,支持多域名和泛域名,点击查看

AntSimulator

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.sh script

./install.sh

On Ubuntu from Docker
  • Install Docker (see this)
  • Execute install_from_docker.sh script
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

Cmake 1

  • 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

Cmake 2

  • Click on Finish
  • Click on Generate

Cmake 3

  • 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

最近版本更新:(数据更新于 2024-05-09 00:42:45)

2022-03-04 01:55:01 v4.2

2021-12-24 23:21:53 v4.1

2021-12-10 06:13:07 v4.0

2021-08-10 12:38:37 v3.1

2021-08-09 22:46:05 v3.0

2021-04-06 17:19:38 v2.1

2021-04-02 16:40:00 v1.2

2021-01-02 06:04:02 v1.1

2020-12-31 21:13:16 v1.0

主题(topics):

2d, cpp, realtime, sfml, simulation

johnBuffer/AntSimulator同语言 C++最近更新仓库

2024-05-21 02:39:02 PCSX2/pcsx2

2024-05-20 04:40:15 isledecomp/isle

2024-05-19 15:10:32 zufuliu/notepad2

2024-05-18 23:54:09 matanki-saito/EU4dll

2024-05-18 20:20:56 jellyfin/jellyfin-media-player

2024-05-18 19:47:46 ExpressLRS/ExpressLRS