{"id":18820822,"url":"https://github.com/coder-acjhp/modern-snake","last_synced_at":"2026-01-17T17:30:19.821Z","repository":{"id":131076431,"uuid":"126733765","full_name":"Coder-ACJHP/Modern-Snake","owner":"Coder-ACJHP","description":"Snake game for desktop","archived":false,"fork":false,"pushed_at":"2018-04-11T00:22:22.000Z","size":4313,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-30T03:32:50.369Z","etag":null,"topics":["desktop-application","game","java","modern-snake","snake","snake-game"],"latest_commit_sha":null,"homepage":null,"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/Coder-ACJHP.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":"2018-03-25T19:46:05.000Z","updated_at":"2022-05-16T10:58:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"18dc6f12-bd36-40ef-ade2-5bb38971ca24","html_url":"https://github.com/Coder-ACJHP/Modern-Snake","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coder-ACJHP%2FModern-Snake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coder-ACJHP%2FModern-Snake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coder-ACJHP%2FModern-Snake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coder-ACJHP%2FModern-Snake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Coder-ACJHP","download_url":"https://codeload.github.com/Coder-ACJHP/Modern-Snake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239758831,"owners_count":19692034,"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":["desktop-application","game","java","modern-snake","snake","snake-game"],"created_at":"2024-11-08T00:30:29.769Z","updated_at":"2025-02-20T00:46:00.523Z","avatar_url":"https://github.com/Coder-ACJHP.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\" style=\"text-align:center;\"\u003e\n  \u003cimage src=\"https://github.com/Coder-ACJHP/Snake-Modern/blob/master/src/com/coder/snake/icons/snake.png\"\u003e\n  \u003ch1\u003eModern Snake\u003c/h1\u003e\n\u003c/div\u003e\n\u003cp\u003eSimple snake game that include core functionality for classic snake but overrided some properties like : user can change background color or can play from control panel and change settings etc.The game builded on Java SE(Swing \u0026 AWT) libraries and packaged with Maven.\u003c/p\u003e\n\u003cp\u003eThere is just two external library used in this project : \u003c/p\u003e\n\u003col\u003e\n\u003cli\u003eAppleJavaExtentions library (used for adding application icon in dock)\u003c/li\u003e\n\u003cli\u003eJZoom library (used for playing mp3 files)\u003c/li\u003e\n\u003c/ol\u003e\n\u003cdiv align=\"center\" style=\"text-align:center;\"\u003e\n  \u003ch1\u003eModern Snake screen shot\u003c/h1\u003e\n  \u003cimage src=\"https://github.com/Coder-ACJHP/Modern-Snake/blob/master/src/com/coder/snake/icons/snake.gif\"\u003e\n\u003c/div\u003e\n\u003ch4\u003eThe game designed on mvc pattern\u003c/h4\u003e\n\u003cul\u003e\n\u003cli\u003eModel : including Snake, Food, Directions and SoundPlayer classes\u003c/li\u003e\n\u003cli\u003eView : including GamePanel(display), ControlPanel(Control pad) classes\u003c/li\u003e\n\u003cli\u003eController : including MainFrame(Main window *container* ) and InitializeSettings class\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eHow to play ? \u003c/h2\u003e\n\u003cp\u003eDownload the project from here then import it in any IDE (I used Eclipse) then start the /Snake/src/com/coder/snake/start/Snake_Modern.java class and enjoy\u003c/p\u003e\n\u003cp\u003eYou can also control the snake from your keyboard (arrow keys ⬅️ ➡️ ⬆️ ⬇️  )\u003c/p\u003e\n\u003cp\u003eYou can easily export the game as single executable '.jar' with Maven\u003c/p\u003e\n\u003ch3\u003eHow to export the game as single executable jar platform independed ?\u003c/h3\u003e\n\u003cp\u003eJust add this \u003ccode\u003emaven-assembly-plugin\u003c/code\u003e into your POM.XML file then run the following code in your IDE or Terminal : \u003c/p\u003e\n  \u003cp\u003eIn new version (1.2.1.RELEASE) above plugin already added\u003c/p\u003e\n\u003ccode\u003emvn clean compile assembly:single\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\n  \u003cp\u003eOr download the game as \u003cb\u003e(.app) for MacOS\u003c/b\u003e or \u003cb\u003e(.jar) for all OS\u003c/b\u003e from this link: \u003ca href=\"https://github.com/Coder-ACJHP/Modern-Snake/releases\"\u003eModern-Snake-1.2.1 releases\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eThat's it 😍🎉 enjoy with your time 👍\u003c/p\u003e\n\n\u003cp\u003eFor any question 🤔 please 📧 me at : \u003ca href=\"mailto:hexa.octabin@gmail.com\"\u003ehexa.octabin@gmail.com\u003c/a\u003e\u003c/p\u003e\n\u003ch3\u003eI hope this help to juniors learn basics of building game via Java, thank you for reading 😊\u003c/h3\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder-acjhp%2Fmodern-snake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder-acjhp%2Fmodern-snake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder-acjhp%2Fmodern-snake/lists"}