{"id":30196436,"url":"https://github.com/colmiik/avaj-launcher","last_synced_at":"2025-08-13T05:21:52.978Z","repository":{"id":308328617,"uuid":"1032429247","full_name":"ColmiiK/avaj-launcher","owner":"ColmiiK","description":"An exploration of OOP in Java through a weather simulation","archived":false,"fork":false,"pushed_at":"2025-08-06T09:30:52.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-06T11:27:43.504Z","etag":null,"topics":["java","oop","uml-diagram"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ColmiiK.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,"zenodo":null}},"created_at":"2025-08-05T09:43:29.000Z","updated_at":"2025-08-06T09:30:56.000Z","dependencies_parsed_at":"2025-08-06T11:28:33.167Z","dependency_job_id":null,"html_url":"https://github.com/ColmiiK/avaj-launcher","commit_stats":null,"previous_names":["colmiik/ajav-launcher","colmiik/avaj-launcher"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ColmiiK/avaj-launcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColmiiK%2Favaj-launcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColmiiK%2Favaj-launcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColmiiK%2Favaj-launcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColmiiK%2Favaj-launcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ColmiiK","download_url":"https://codeload.github.com/ColmiiK/avaj-launcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColmiiK%2Favaj-launcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270183895,"owners_count":24541412,"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-08-13T02:00:09.904Z","response_time":66,"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":["java","oop","uml-diagram"],"created_at":"2025-08-13T05:21:49.843Z","updated_at":"2025-08-13T05:21:52.960Z","avatar_url":"https://github.com/ColmiiK.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-configure-file { \"MD013\": { \"line_length\": 300 } } --\u003e\n\n# ajav-launcher\n\n## General instructions\n\n- Allowed to use any language features up to the latest Java LTS\n  - Latest one is Java 25\n- Not allowed to use any external libraries, build tools or code generators\n- Not allowed to use the default package\n- Create your own relevant packages following the Java naming convention\n- Do not commit .class files\n- Make sure you have both java and javac\n- Compile with the following command in the root of the project:\n\n```bash\n$find * -name \"*.java\" \u003e sources.txt\n$javac @sources.txt\n```\n\n## Mandatory part\n\nImplement the UML diagram given:\n![UML class diagram](avaj_uml.png)\n\nFeel free to add more classes or attributes if they're necessary.\n\n### Program behaviour\n\nYour program must take only one argument\nExecuting your program should generate a `simulation.txt` file:\n\n```text\n$java ro.academyplus.avaj.simulator.Simulator scenario.txt\n\n$cat -e simulation.txt\nTower says: Balloon#B1(1) registered to weather tower.\nTower says: JetPlane#J1(2) registered to weather tower.\nTower says: Helicopter#H1(3) registered to weather tower.\nTower says: Helicopter#H4(4) registered to weather tower.\nBalloon#B1(1): Let's enjoy the good weather and take some pics.\nJetPlane#J1(2): It's raining. Better watch out for lightings.\nHelicopter#H1(3): This is hot.\nHelicopter#H4(4): My rotor is going to freeze!\nBalloon#B1(1): Damn you rain! You messed up my balloon.\nJetPlane#J1(2): OMG! Winter is coming!\nHelicopter#H1(3): This is hot.\nHelicopter#H4(4): My rotor is going to freeze!\nBalloon#B1(1): It's snowing. We're gonna crash.\nJetPlane#J1(2): It's raining. Better watch out for lightings.\nHelicopter#H1(3): This is hot.\nHelicopter#H4(4): My rotor is going to freeze!\nBalloon#B1(1): Damn you rain! You messed up my balloon.\nBalloon#B1(1) landing.\nTower says: Balloon#B1(1) unregistered from weather tower.\nJetPlane#J1(2): OMG! Winter is coming!\nHelicopter#H1(3): This is hot.\nHelicopter#H4(4): My rotor is going to freeze!\n```\n\n- TYPE#NAME(UNIQUE_ID): SPECIFIC_MESSAGE\n\n### Scenario file\n\nHere's an example of the scenario file:\n\n```shell\n25\nBaloon B1 2 3 20\nBaloon B2 1 8 66\nJetPlane J1 23 44 32\nHelicopter H1 654 33 20\nHelicopter H2 22 33 44\nHelicopter H3 98 68 99\nBaloon B3 102 22 34\nJetPlane J2 11 99 768\nHelicopter H4 223 23 54\n```\n\nThe first line has a positive integer that represents the\namount of iterations of the simulation.\nEach following line represents an aircraft with the following format:\n\n- TYPE NAME LONGITUDE LATITUDE HEIGHT\n\n### Weather generation\n\nThere are 4 types of weather:\n\n- SUN\n- RAIN\n- FOG\n- SNOW\n\nEach 3D point has a weather.\nChoose whatever generation algorithm you want.\n\n### Aircrafts\n\n- JetPlane\n  - SUN - Latitude increases with 10, Height increases with 2\n  - RAIN - Latitude increases with 5\n  - FOG - Latitude increases with 1\n  - SNOW - Height decreases with 7\n- Helicopter\n  - SUN - Longitude increases with 10, Height increases with 2\n  - RAIN - Longitude increases with 5\n  - FOG - Longitude increases with 1\n  - SNOW - Height decreases with 12\n- Balloon\n  - SUN - Longitude increases with 2, Height increases with 4\n  - RAIN - Height decreases with 5\n  - FOG - Height decreases with 3\n  - SNOW - Height decreases with 15\n\n### Simulation\n\n- Coordinates are positive numbers\n- Height range is 0-100\n- If Height \u003e 100, Height = 100\n- Each aircraft has a unique ID, assigned at creation\n- If Height \u003c= 0, aircraft lands, unregisters from weather tower and logs a message\n- When a weather change occurs, each aircraft type needs to log a message. The format is:\n  - TYPE#NAME(UNIQUE_ID): SPECIFIC_MESSAGE\n- When the aircraft registers or unregisters from the weather tower, a message will be logged\n\n### Validation\n\nThe input file needs to be validated.\nAny abnormal behaviour due to anomalous data is not valid.\nIf the format is not correct, stop execution, logging any error messages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolmiik%2Favaj-launcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolmiik%2Favaj-launcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolmiik%2Favaj-launcher/lists"}