{"id":20789560,"url":"https://github.com/victorqribeiro/aose","last_synced_at":"2026-05-21T23:39:44.162Z","repository":{"id":128646566,"uuid":"152540692","full_name":"victorqribeiro/AOSE","owner":"victorqribeiro","description":"A simulation involving a criminal, a civilian, a police officer and a firefighter. My final project for the AOSE class. ","archived":false,"fork":false,"pushed_at":"2018-10-11T20:09:24.000Z","size":106,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T10:27:24.586Z","etag":null,"topics":["agent","agent-based-simulation","ai","animation","aose","javascript","simulation","software-engineering"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/victorqribeiro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-10-11T06:18:28.000Z","updated_at":"2024-04-03T11:06:05.000Z","dependencies_parsed_at":"2023-04-15T20:57:12.316Z","dependency_job_id":null,"html_url":"https://github.com/victorqribeiro/AOSE","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2FAOSE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2FAOSE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2FAOSE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2FAOSE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorqribeiro","download_url":"https://codeload.github.com/victorqribeiro/AOSE/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243135422,"owners_count":20241965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","agent-based-simulation","ai","animation","aose","javascript","simulation","software-engineering"],"created_at":"2024-11-17T15:24:55.299Z","updated_at":"2025-12-24T23:39:40.117Z","avatar_url":"https://github.com/victorqribeiro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AOSE - Agent-Oriented Software Engineering\n\nThis 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.\n\n![Screenshot of the simulation](screen.png)\n\nYou can watch the simulation [here](https://victorribeiro.com/esoa)\n\n## Meet The Agents\n\n### The Criminal \n* Moves randomly across the board in any four directions: up, down, left and right.\n* Has a 1/6 chances of starting a fire.\n* Can get trapped in his own fire.\n* Can walk in the Police Officer and get arrested.\n\n### The Civilian\n* Moves from top to bottom, left to right. When he reaches the bottom, he goes back to the top.\n* If he sees a fire he stops and calls the Firefighter.\n* If he sees the criminal, he calls the Police Officer informing the position he saw him.\n\n### The Firefighter\n* Stays still until called about a fire.\n* When called, move to the position where the fire was spoted.\n* If he passes another fire in the way, he puts it out.\n* If he sees the Criminal, he calls the Police Officer informing the position he saw him.\n\n### The Police Officer\n* Stays still until called about the Criminal.\n* When called, he moves to the position the criminal was last seen.\n* If he sees a fire he stop and calls the Firefighter.\n* If he sees the criminal he arrestes him.\n\nThe simulation is over when the criminal gets arrested.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorqribeiro%2Faose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorqribeiro%2Faose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorqribeiro%2Faose/lists"}