{"id":19720195,"url":"https://github.com/aburraq/lamesnake","last_synced_at":"2026-04-29T15:33:18.347Z","repository":{"id":210892796,"uuid":"717425328","full_name":"Aburraq/LameSnake","owner":"Aburraq","description":"I have created a snake game by watching Bro Code. Then I wanted to add something from myself. So I added some images, prevent apple to appear on snake, restart game option and a few more touch. Go check it out now. Also credential link to Bro Code: https://www.youtube.com/watch?v=bI6e6qjJ8JQ","archived":false,"fork":false,"pushed_at":"2024-01-07T12:59:52.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T15:51:35.621Z","etag":null,"topics":["gamedevelopment","graphicsprogramming","imageio","java","jframe","jpanel","keylistener","snake-game","swing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aburraq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-11T13:08:22.000Z","updated_at":"2024-01-07T13:02:57.000Z","dependencies_parsed_at":"2024-11-11T23:10:45.640Z","dependency_job_id":"6deba4e9-5abb-4b80-829f-0810e6fdc96c","html_url":"https://github.com/Aburraq/LameSnake","commit_stats":null,"previous_names":["aburraq/lamesnake"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aburraq%2FLameSnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aburraq%2FLameSnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aburraq%2FLameSnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aburraq%2FLameSnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aburraq","download_url":"https://codeload.github.com/Aburraq/LameSnake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241040634,"owners_count":19898907,"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":["gamedevelopment","graphicsprogramming","imageio","java","jframe","jpanel","keylistener","snake-game","swing"],"created_at":"2024-11-11T23:10:41.846Z","updated_at":"2026-04-29T15:33:13.320Z","avatar_url":"https://github.com/Aburraq.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java Game: Snake\n\n## Description\n\nThis Java game implements the classic Snake game using Swing for the graphical interface. Players control a snake that moves around the screen to collect apples, increasing its size each time it eats one. The game ends if the snake collides with itself or the screen borders. \n\n## Features\n\n- **Snake Movement:** The snake moves in four directions: up, down, left, and right.\n- **Apple Collection:** Players can eat apples to grow the snake's length and increase their score.\n- **Game Over:** The game ends when the snake collides with itself or the screen borders.\n- **Score Display:** Displays the player's score while playing.\n- **Restart Option:** Players can restart the game after it ends.\n\n## How to Play\n\n- **Controls:** Use the arrow keys to direct the snake (Up, Down, Left, Right).\n- **Collect Apples:** Guide the snake to eat apples without hitting itself or the walls.\n- **Game Over:** The game ends if the snake collides with itself or the borders.\n- **Restart:** Press the Space key to restart the game after it ends.\n\n## Setup\n\n- **Java Requirements:** Ensure you have Java installed to run this game.\n- **IDE or Command Line:** Open the project in an IDE or compile and run it via the command line.\n\n## Getting Started\n\n1. **Run the Game:** Execute the `GamePanel` class to start the game.\n2. **Gameplay:** Control the snake using the arrow keys to eat apples and score points.\n3. **Game Over:** The game ends if the snake collides. Restart by pressing the Space key.\n\n## Additional Information\n\n- **Image Resources:** The game uses images for the snake's head and apple objects.\n- **Adjustments:** Modify the code to change game speed, appearance, or add new features.\n- **Dependencies:** Requires the `javax.swing`, `java.awt`, and `java.io` packages.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faburraq%2Flamesnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faburraq%2Flamesnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faburraq%2Flamesnake/lists"}