{"id":20708124,"url":"https://github.com/sumitst05/cosmic-dodge","last_synced_at":"2025-08-01T10:37:34.703Z","repository":{"id":102543987,"uuid":"597371298","full_name":"sumitst05/Cosmic-Dodge","owner":"sumitst05","description":"A mini dodge to survive type Space Game written in Java using java.awt and java.swing","archived":false,"fork":false,"pushed_at":"2023-06-05T10:17:36.000Z","size":185,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T02:16:20.427Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sumitst05.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":"2023-02-04T10:44:12.000Z","updated_at":"2023-08-22T02:01:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"86c96749-e2a5-4ec1-bb84-1df882c99ad1","html_url":"https://github.com/sumitst05/Cosmic-Dodge","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/sumitst05%2FCosmic-Dodge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitst05%2FCosmic-Dodge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitst05%2FCosmic-Dodge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitst05%2FCosmic-Dodge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumitst05","download_url":"https://codeload.github.com/sumitst05/Cosmic-Dodge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250354511,"owners_count":21416751,"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":[],"created_at":"2024-11-17T01:29:21.575Z","updated_at":"2025-04-23T02:16:28.512Z","avatar_url":"https://github.com/sumitst05.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 👾 COSMIC DODGE 👾 - README\n\nThis is a space game created using Java, mainly using the java.awt and java.swing libraries. In this game, the player controls an alien that moves around in the game window. The objective is to dodge the randomly generated asteroids to survive as long as possible. The game ends when a collision between the alien and asteroid is detected.\n\n![swappy-20230603_195042](https://github.com/sumitst05/Cosmic-Dodge/assets/106669732/2861d13b-718d-4e6c-aa94-07f6cd8853d8)\n\n## Getting Started\nTo run the game, you will need to have Java 8 or higher installed on your computer. \n\n1. Download the source code from the repository and cd to Cosmic-Dodge/src\n2. Compile the code using \n```bash \njavac CosmicDodge.java\n```\n3. Run the game using \n```bash\njava CosmicDodge\n```\n\nOR\n\nYou can just download the Cosmic-Dodge.jar executable jar file and run it.\n\n## How to Play\n1. Use the arrow keys to control the movement of the alien.\n2. Dodge the randomly generated asteroids to avoid collision.\n3. The game ends when a collision is detected between the alien and an asteroid.\n\n![swappy-20230603_170508](https://github.com/sumitst05/Cosmic-Dodge/assets/106669732/3f67cc83-2cd5-443e-930f-c6b0a6449420)\n\n## Link to Replit\nYou can also play this game on Replit without having to clone the repository or downloading the jar file.\nJust follow this link : [Cosmic-Dodge](https://replit.com/@sumitst05/Cosmic-Dodge?v=1). (Just make sure to go full-screen before you run the repl). \nDo like the repl if you liked the game! 😉\n\n## Contributing\nContributions to the game are welcome. If you find a bug, have a suggestion or an improvement, please feel free to open an issue or submit a pull request.\n\n## License\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumitst05%2Fcosmic-dodge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumitst05%2Fcosmic-dodge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumitst05%2Fcosmic-dodge/lists"}