{"id":25222987,"url":"https://github.com/yemrehan/snakeproject","last_synced_at":"2026-01-20T10:32:31.207Z","repository":{"id":275667741,"uuid":"925408310","full_name":"YEmrehan/SnakeProject","owner":"YEmrehan","description":"RGB Snake Game","archived":false,"fork":false,"pushed_at":"2025-07-30T06:39:35.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T08:41:44.400Z","etag":null,"topics":["inno-setup","java","javafx","snake-game","swing","swing-gui"],"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/YEmrehan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-01-31T20:27:52.000Z","updated_at":"2025-07-30T06:39:38.000Z","dependencies_parsed_at":"2025-03-09T15:24:29.632Z","dependency_job_id":"724fb69f-be95-466c-a471-70813eae4811","html_url":"https://github.com/YEmrehan/SnakeProject","commit_stats":null,"previous_names":["yemrehan/sanakeproject"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/YEmrehan/SnakeProject","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YEmrehan%2FSnakeProject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YEmrehan%2FSnakeProject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YEmrehan%2FSnakeProject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YEmrehan%2FSnakeProject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YEmrehan","download_url":"https://codeload.github.com/YEmrehan/SnakeProject/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YEmrehan%2FSnakeProject/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28601835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T09:39:28.479Z","status":"ssl_error","status_checked_at":"2026-01-20T09:38:10.511Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["inno-setup","java","javafx","snake-game","swing","swing-gui"],"created_at":"2025-02-10T23:59:14.924Z","updated_at":"2026-01-20T10:32:31.199Z","avatar_url":"https://github.com/YEmrehan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐍 Snake Game (Java)\n\nThis is a simple and fun version of the classic Snake game developed using Java Swing. The game is controlled with arrow keys and includes a basic scoring system.\n\n## 🎮 Screenshot\n\n\u003e The game screen displays the snake, food (apples), and current score at the top.\n\n\u003cp float=\"left\"\u003e\n  \u003cimg src=\"media/ss1.png\" width=\"300\" /\u003e\n  \u003cimg src=\"media/ss2.png\" width=\"300\" /\u003e\n  \u003cimg src=\"media/ss3.png\" width=\"300\" /\u003e\n\u003c/p\u003e\n\n\n## 🚀 Getting Started\n\n### Requirements\n\n- Java JDK 8 or later\n- Any Java IDE (e.g., IntelliJ IDEA, Eclipse, VS Code) or terminal\n- `javac` and `java` must be available in your system PATH\n\n### Compile and Run\n\n#### 1. Compile\n\n```bash\njavac -d bin src/SnakePackage/*.java\n```\n\n#### 2. Run\n\n```bash\njava -cp bin SnakePackage.SnakeGame\n```\n\n### 🖥️ Alternative: Run the `.exe` File\n\nYou can run the game directly on Windows using the included `Snake.exe` file.  \nUse `Snake_Setup.exe` (created with Inno Setup) to install the game.\n\n---\n\n## 🎮 Game Rules\n\n- You start as a snake with 6 body parts.\n- Red circles represent apples.\n- Every time you eat an apple:\n  - The snake grows longer\n  - Your score increases\n- The game ends if you hit the wall or collide with your own body.\n- After a game over, press `Enter` to restart.\n\n## ⌨️ Controls\n\n| Key        | Action          |\n|------------|-----------------|\n| ⬅️ Left     | Move left       |\n| ➡️ Right    | Move right      |\n| ⬆️ Up       | Move up         |\n| ⬇️ Down     | Move down       |\n| ⏎ Enter    | Restart the game|\n\n---\n\n## 📁 Project Structure\n\n```\nSnakeProject/\n├── src/\n│   └── SnakePackage/\n│       ├── SnakeGame.java\n│       ├── GameFrame.java\n│       └── GamePanel.java\n├── bin/                     # Compiled classes (via javac -d)\n├── screenshot.png           # Game screenshot (optional)\n├── Snake.exe                # Executable file (from Inno Setup)\n├── Snake_Setup.exe          # Installer (optional)\n└── README.md\n```\n\n## 🛠️ Technologies Used\n\n- Java 8+\n- Java Swing (for GUI)\n- Inno Setup (for Windows installer)\n\n## 📄 License\n\nThis project is licensed under the MIT License – see the [LICENSE](LICENSE) file for details.\n\n---\n\n**Enjoy the game! 🕹️**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyemrehan%2Fsnakeproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyemrehan%2Fsnakeproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyemrehan%2Fsnakeproject/lists"}