This repository contains a multi-agent system designed for guarding and intruding an unknown area. This research delves into the application of various algorithms to simulate the behaviour of intelligent intruders and guards. The primary algorithms implemented include A*, Genetic Neural Network, Artificial Fish Swarm, Brick and Mortar, and Ants Patrol.
For a detailed understanding of the research and methodologies employed in this project, you can refer to the report.
Guillaume Bams, Rosamelia Carioni Porras, Sam Glassman, Xander Karnebeek, Roman Marjusins, Elena Perego, Mischa Rauch
- Java JDK 11 or higher
- Gradle 6.8 or higher
- Clone the repository to your local machine.
- Navigate to the project root folder
project-2-2
using the command line. - If you have Gradle installed, run the project using
gradle run
. - If you don't have gradle installed, try running
gradlew run
( or./gradlew run
), or you can install Gradle here. - If step 4. does not work open the project with your favorite IDE (IntelliJ, VSCode,...).
- Make sure when you open the root folder (project-2-2) to trust this project.
- Run the inbuild
run
command of gradles applications via your IDE.
- Choose a Map: Browse through the available maps or upload your custom scenario.
- Select Algorithms:
- Choose an algorithm for the Guards.
- Choose an algorithm for the Intruders.
- Game Modes: Set the desired game mode in the scenario file:
0
for Exploration1
for Single Intruder Caught2
for All Intruders Caught3
for One Intruder at Target4
for All Intruders at Target
- Play: Monitor the game's progress at the bottom of the interface. You can follow different agents by clicking on their icons. Use zoom controls to view the entire map.