{"id":15102553,"url":"https://github.com/hey-its-d2t2/futureintern_jd_4","last_synced_at":"2026-01-20T16:01:28.303Z","repository":{"id":256171119,"uuid":"853141553","full_name":"hey-its-d2t2/Futureintern_JD_4","owner":"hey-its-d2t2","description":"Snake Game is a classic arcade game implemented as part of Task 4 of my internship with Future Intern. The game features a simple yet engaging gameplay experience where players control a snake that grows longer as it consumes food items. The game provides a visually appealing interface and interactive elements, making it suitable for both casual an","archived":false,"fork":false,"pushed_at":"2024-09-09T09:50:17.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T11:42:03.480Z","etag":null,"topics":["aws-ec2","css","git","github","html","java","js","mobaxterm","snake-game","springboot","thymeleaf"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/hey-its-d2t2.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":"2024-09-06T04:25:32.000Z","updated_at":"2024-09-09T09:50:21.000Z","dependencies_parsed_at":"2024-09-09T11:43:29.974Z","dependency_job_id":"02ab2d6c-c7ee-49ca-990e-ed3158c87989","html_url":"https://github.com/hey-its-d2t2/Futureintern_JD_4","commit_stats":null,"previous_names":["hey-its-d2t2/futureintern_jd_4"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hey-its-d2t2/Futureintern_JD_4","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hey-its-d2t2%2FFutureintern_JD_4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hey-its-d2t2%2FFutureintern_JD_4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hey-its-d2t2%2FFutureintern_JD_4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hey-its-d2t2%2FFutureintern_JD_4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hey-its-d2t2","download_url":"https://codeload.github.com/hey-its-d2t2/Futureintern_JD_4/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hey-its-d2t2%2FFutureintern_JD_4/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28606288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T14:45:23.139Z","status":"ssl_error","status_checked_at":"2026-01-20T14:44:16.929Z","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":["aws-ec2","css","git","github","html","java","js","mobaxterm","snake-game","springboot","thymeleaf"],"created_at":"2024-09-25T19:01:50.420Z","updated_at":"2026-01-20T16:01:28.278Z","avatar_url":"https://github.com/hey-its-d2t2.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snake Game\n\n**Snake Game** is a classic game developed as part of **Task 4** for my **Future Intern internship**. This project implements the classic Snake Game using HTML, CSS, JavaScript, and Spring Boot. The game is designed to be engaging and easy to play directly from a web browser.\n\n## Tech Stack\n\n- **Frontend**:\n  - HTML\n  - CSS (Custom Styling)\n  - JavaScript\n\n- **Backend**:\n  - Java\n  - Spring Boot\n\n- **Others**:\n  - Maven (for project management)\n\n## Features\n\n- **Classic Gameplay**: Implementing the traditional Snake game mechanics with smooth and responsive controls.\n- **Score Tracking**: Real-time score display and updates as the game progresses.\n- **Game Over Handling**: Shows a popup with the final score and the option to restart the game.\n- **Responsive Design**: Ensures the game interface is functional and visually appealing on various device sizes.\n- **Sound Effects**: Audio cues for eating food and game over events.\n\n## Usage\n\n1. **Play the Game**\n   - Access the game by navigating to `http://localhost:8080/` in your web browser.\n   - Use the arrow keys to control the direction of the snake.\n\n2. **Restart the Game**\n   - When the game is over, a popup will appear with the final score and a \"Restart\" button. Click \"Restart\" to play the game again.\n\n3. **Score Display**\n   - The score is updated live on the game screen as the snake eats food.\n\n## UI Screenshot\n- **Game**\n  ![Game](https://github.com/user-attachments/assets/4fddcba3-eded-4b8f-b8c1-b3975a11f2f3)\n- **Game Over**\n  ![Game Over](https://github.com/user-attachments/assets/368060a5-55c2-41be-94ab-e9957c05a196)\n\n## API Endpoints\n\nThe Snake Game does not utilize traditional API endpoints but is served as a static HTML file with associated assets. The game logic and assets are all handled client-side with JavaScript and server-side with Spring Boot for serving the static content.\n\n## Installation\n\n- **1. Clone the Repository**\n\n  ```bash\n  git clone https://github.com/hey-its-d2t2/Snake-Game.git\n  cd Snake-Game\n  \n- **2. Set Up the Backend**\n\n  Navigate to the backend directory and build the Spring Boot application.\n\n  ```bash\n  cd backend\n  ./mvnw spring-boot:run\n  ```\n- **3. Access the Game**\n\n  Open the following URL in your browser to play the game.\n  \n  ```bash\n  http://localhost:8080/\n  ```\n### Development\nTo contribute to this project or make modifications, please follow these guidelines:\n\n- Ensure code adheres to project standards.\n- Include appropriate tests for new features.\n- submit pull requests with detailed descriptions of changes.\n#### Acknowledgements\n- Spring Boot: For providing a robust framework to serve static content.\n- HTML/CSS/JavaScript: For implementing the game’s interface and functionality.\n## Contact\nFor any questions or feedback, please contact me at deepsinghkumar01@gmail.com.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhey-its-d2t2%2Ffutureintern_jd_4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhey-its-d2t2%2Ffutureintern_jd_4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhey-its-d2t2%2Ffutureintern_jd_4/lists"}