Pic à GOGO is a multi-agent simulation of a bar. The goal of the simulation is to study the crowd movements in a bar setting, were a few interest points concentrate the crowd. The simulation is written in Go and uses the Ebiten game engine.
This project is written in Go. It uses the Go module system to manage
dependencies. As the simulation needs a handful of external assets in addition to the executable to work properly, we
recommend to use the go run command inside the cloned repository instead of using go install. We also recommand to the project with git clone instead of downloading the zip file, as the zip file does not include the git submodules.
- Clone the repository:
git clone https://gitlab.utc.fr/royhucheradorni/ia04.gitStart the Simulation:
go run gitlab.utc.fr/royhucheradorni/ia04.git/cmd/simulationIf you are using WSL, you may need to use the following command instead:
GOOS=windows go run gitlab.utc.fr/royhucheradorni/ia04.git/cmd/simulationThere is also a WebAssembly version of the simulation. Simply open the index.html file in your browser to start the simulation. A pre-compiled version is included in the repository, but you can compile it yourself using the following command:
GOARCH=wasm GOOS=js go build -o main.wasm gitlab.utc.fr/royhucheradorni/ia04.git/cmd/simulation

