We created a traffic simulation game for the Socal Cars Multi-Agent Workshop.
The last 3 months were hard work for us, so a very large thank-you to my colleague Malte, Sophie and my student assistant Ehsan for a great job. Our task was:
Preparing a workshop for PhD students which shows a multi-agent simulation. We decided on a traffic game with the following definition:
Some features are
The traffic movement creates a continuous data flow to the WebSocket, i.e. the backend sends the changes in movement of the vehicle agent to the browser. In the browser session, the visualisation is done by a tile map with the JavaScript game engine phaser. Based on an interactive GUI the user can change how the agent moves during the simulation is executed. This interaction is technically realised with Ajax and WebSocket calls.
You can download the source code and binary jar file
If you run the Jar file you can find a configuration under ~/.lightjason/trafficsimulation
. Within the configuration you can enable all agents. Documentation of MAS, LightJason and the scenario are built-in as a slide-show. All parts of the game are open-source and we will publish it later as an online game.
You can also get the source code by cloning the GitHub Repostory.
A video of a short screen recording can be seen below.
https://vimeo.com/lightjason/trafficgameUpdate 2018-02-16: For our AAMAS 2018 Demo video, see https://vimeo.com/lightjason/aamas2018