Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/victorqribeiro/aose
A simulation involving a criminal, a civilian, a police officer and a firefighter. My final project for the AOSE class.
https://github.com/victorqribeiro/aose
agent agent-based-simulation ai animation aose javascript simulation software-engineering
Last synced: about 2 months ago
JSON representation
A simulation involving a criminal, a civilian, a police officer and a firefighter. My final project for the AOSE class.
- Host: GitHub
- URL: https://github.com/victorqribeiro/aose
- Owner: victorqribeiro
- License: mit
- Created: 2018-10-11T06:18:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-11T20:09:24.000Z (about 6 years ago)
- Last Synced: 2023-10-20T23:40:31.034Z (about 1 year ago)
- Topics: agent, agent-based-simulation, ai, animation, aose, javascript, simulation, software-engineering
- Language: JavaScript
- Homepage:
- Size: 104 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AOSE - Agent-Oriented Software Engineering
This is my final project for the [AOSE](https://en.wikipedia.org/wiki/Agent-oriented_software_engineering) class. It's a simulation involving a criminal, a civilian, a fire fighter and a police officer.
![Screenshot of the simulation](screen.png)
You can watch the simulation [here](https://victorribeiro.com/esoa)
## Meet The Agents
### The Criminal
* Moves randomly across the board in any four directions: up, down, left and right.
* Has a 1/6 chances of starting a fire.
* Can get trapped in his own fire.
* Can walk in the Police Officer and get arrested.### The Civilian
* Moves from top to bottom, left to right. When he reaches the bottom, he goes back to the top.
* If he sees a fire he stops and calls the Firefighter.
* If he sees the criminal, he calls the Police Officer informing the position he saw him.### The Firefighter
* Stays still until called about a fire.
* When called, move to the position where the fire was spoted.
* If he passes another fire in the way, he puts it out.
* If he sees the Criminal, he calls the Police Officer informing the position he saw him.### The Police Officer
* Stays still until called about the Criminal.
* When called, he moves to the position the criminal was last seen.
* If he sees a fire he stop and calls the Firefighter.
* If he sees the criminal he arrestes him.The simulation is over when the criminal gets arrested.