{"id":23084460,"url":"https://github.com/0xtter/jurassic-fight","last_synced_at":"2025-10-10T10:40:01.928Z","repository":{"id":147439433,"uuid":"544973962","full_name":"0xtter/Jurassic-Fight","owner":"0xtter","description":"This Java project simulates dinosaur clans that move on a field to gain knowledge and share it upon return. The program tracks dinosaur movements and knowledge acquisition to determine the winner. With a focus on entertainment and education, this project provides a unique way to learn about Java programming and dinosaur behavior.","archived":false,"fork":false,"pushed_at":"2022-11-20T21:44:00.000Z","size":9421,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T14:46:06.144Z","etag":null,"topics":["game","java","simulation"],"latest_commit_sha":null,"homepage":"","language":"Java","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/0xtter.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-03T15:04:31.000Z","updated_at":"2023-02-15T17:07:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"b883f708-f9ca-40a2-952c-35ba4907f84c","html_url":"https://github.com/0xtter/Jurassic-Fight","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xtter/Jurassic-Fight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtter%2FJurassic-Fight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtter%2FJurassic-Fight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtter%2FJurassic-Fight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtter%2FJurassic-Fight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xtter","download_url":"https://codeload.github.com/0xtter/Jurassic-Fight/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtter%2FJurassic-Fight/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003544,"owners_count":26083595,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["game","java","simulation"],"created_at":"2024-12-16T16:11:28.055Z","updated_at":"2025-10-10T10:40:01.893Z","avatar_url":"https://github.com/0xtter.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jurassic-Fight\n\n[Github Page](https://github.com/0xtter/Jurassic-Fight)\n\n![image](https://user-images.githubusercontent.com/112948108/193612495-f6cc4680-91b2-4c07-a858-76452e66bce5.png)\n\n| Nom | Ptérodactyle | Tyrannosaures | Diplodocus | Mosasaures |\n| --- | ------------ | ------------- | ---------- | ---------- |\n|     |              |               |            |            |\n\n## Requirements 📑\n\n### Scenario\n\n- [ ] 4 Groups in competition.\n- [ ] Alliances between the groups.\n- [ ] Specificial individual for each group called \"Master\".\n- [ ] The more a teacher has listened to different messages, the more likely the group is to be the wiser and therefore to be the winner.\n- [ ] The Master cannot move.\n- [ ] Individuals brings back knowledge to the master.\n- [ ] The exchange of message between two individuals is done according to their group and a possible alliance.\n- [ ] Pseudo randomness on the movements.\n- [ ] Pseudo randomness on the reception of the messages.\n- [ ] Event (like asteroid or tsunami) that can influence the scene.\n\n### Class Diagram\n\n\u003cp style=\"color:red\"\u003eMap Class\u003c/p\u003e\n\n- [ ] Rectangular shape.\n- [ ] Each corner has a 'SafeZone'.\n- [ ] Sum of the 4 SafeZones are less than half of the surface of the map.\n- [ ] Each master is static in the SafeZone\n- [ ] The map is discretized into n*m boxes.\n- [ ] The boxes are identifiable by a horizontal index and a vertical index.\n- [ ] A method of the Map class will return the tiles available around a tile given as a parameter.\n- [ ] A method will return the direction to take to reach your own SafeZone.\n- [ ] Obstacles can be generated randomly at the start of the simulation.\n- [ ] Each box can contain a maximum of one indidividual or obstacle; when there\n\n### Statechart Diagram\n\n### Activity Diagram\n\n### Simulation\n\n- [ ] The simulation is discrete and at constant time step.\n- [ ] At each stage, all mobile individuals have a method running in order to make them evolve on the Map.\n- [ ] The order of manipulation of individuals is calculated randomly.\n- [ ] The simulation ends when one of the masters has all the messages in the game.\n- [ ] If after a fixed number of time steps, the game hasn't ended, It will be forced to end.\n- [ ] If so, the winner should be determined by a specific.\n\n### Individuals\n\n- [ ] There must be 2 alliances.\n- [ ] Must have an array of string to store messages received and collected during the game.\n- [ ] Must know the previous position ((x,y) or (NE , N , SW , ...)\n- [ ] System of Energy point. Spent outside base, gain inside.\n- [ ] move function are called in a random order for each creature.\n- [ ] The behaviour of the creature depends on the level of EP. If EP\u003e50%, explore , if EP\u003c20%, flee to the base , ...\n\n### Code\n\n- [ ] Polymorphism (method reacting to the class of the input).\n- [ ] Static attribute.\n- [ ] Singleton.\n- [ ] Pseudo-random method.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xtter%2Fjurassic-fight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xtter%2Fjurassic-fight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xtter%2Fjurassic-fight/lists"}