This project contains some very old code that does not reflect my standards anymore. I will be leaving the project in an archived state in case it is still useful to someone.
A showcase of a multi-agent environment where the agents are taxi drivers acting on certain rules with an internal score keeping track of their performance.
The environment is a 5X5 block area. There can be 3 to 4 agents on the same 5X5 environment where some cooperate with each other and some compete. Each agent has an internal score counting towards his success. The team's success is calculated by adding the scores of the teamates. Each move an agent makes costs him -1 point. When disembarking or embarking a client, the agent loses -1 point. The succesfull disembark though gives him a 20 point reward.
Specifically there are 2 agent teams: donkeys and roosters. Roosters are always competing the donkeys whereas the donkeys sometimes (randomly) cooperate with the roosters and other times they compete with them. Same team members are always cooperative with each other.
These are the ways an agent can compete with another:
- Blocking the opposing agent's path (two opposing agents can never be on the same block otherwise a crash occurs which deducts -10 from the agent's score).
- Stealing a client
These are the ways an agent can cooperate with another:
- Informing another agent of the position of a client. This can happen when two agents from the same team are in the same block but the "conversation" can be heard in neighboring blocks by opposing agents.
- Creating more effective blocks for an opposing agent.
- Download Java 8 and up from here: http://www.oracle.com/technetwork/java/javase/downloads
- Download the
release
folder to an easily reachabe location, for exampleC:\release
- Open the
release
folder - Double click the executable