Skip to content

TristanHUC/IA04

Repository files navigation

Pic à GOGO

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.

screenshot of the application showing the interactions between agents screenshot of the application showing the computed paths of the agents

Project Setup

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.

Installation

  1. Clone the repository:
git clone https://gitlab.utc.fr/royhucheradorni/ia04.git

Running the Program

Start the Simulation:

go run gitlab.utc.fr/royhucheradorni/ia04.git/cmd/simulation

If you are using WSL, you may need to use the following command instead:

GOOS=windows go run gitlab.utc.fr/royhucheradorni/ia04.git/cmd/simulation

There 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published