{"id":18474309,"url":"https://github.com/fdograph/snake-game","last_synced_at":"2026-02-23T00:04:58.133Z","repository":{"id":205654737,"uuid":"708999726","full_name":"fdograph/snake-game","owner":"fdograph","description":"A very bad snake game. Made for testing concepts","archived":false,"fork":false,"pushed_at":"2023-11-09T18:15:17.000Z","size":130,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T19:32:40.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/fdograph.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-10-23T20:10:54.000Z","updated_at":"2023-11-08T18:45:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"59866c7b-8f9f-4859-9a35-b6df0f5c3c75","html_url":"https://github.com/fdograph/snake-game","commit_stats":null,"previous_names":["fdograph/snake-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdograph%2Fsnake-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdograph%2Fsnake-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdograph%2Fsnake-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdograph%2Fsnake-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fdograph","download_url":"https://codeload.github.com/fdograph/snake-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253856572,"owners_count":21974573,"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-06T10:29:00.295Z","updated_at":"2025-10-25T22:04:21.173Z","avatar_url":"https://github.com/fdograph.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snake Game 🐍\n\nA classic Snake game implementation built with React, TypeScript, and Vite.\n\n## Features\n\n- Classic Snake gameplay mechanics\n- Responsive game board\n- Score tracking\n- Smooth animations\n- Modern React architecture with TypeScript\n- Comprehensive test coverage\n\n## Tech Stack\n\n- **Frontend Framework**: React 18.2.0\n- **Language**: TypeScript 5.0.2\n- **Build Tool**: Vite 4.4.5\n- **Testing**: Jest with React Testing Library\n- **Code Quality**: ESLint + Prettier\n- **Styling**: CSS/SCSS\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (version 14 or higher)\n- npm package manager\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/fdograph/snake-game.git\ncd snake-game\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Start the development server:\n```bash\nnpm run dev\n```\n\n4. Open your browser and navigate to `http://localhost:5173`\n\n## Available Scripts\n\n- `npm run dev` - Start development server\n- `npm run build` - Build for production\n- `npm run preview` - Preview production build locally\n- `npm run test` - Run test suite\n- `npm run lint` - Run ESLint for code quality checks\n\n## How to Play\n\n- Use arrow keys or WASD to control the snake\n- Eat food to grow and increase your score\n- Avoid hitting walls or the snake's own body\n- Try to achieve the highest score possible!\n\n## Project Structure\n\n```\nsrc/\n├── App/          # Main application component\n├── Components/   # Reusable UI components\n├── Core/         # Game logic and utilities\n├── Assets/       # Images, icons, and other static assets\n└── __tests__/    # Test files\n```\n\n## Testing\n\nThe project includes comprehensive test coverage using Jest and React Testing Library:\n\n```bash\nnpm run test\n```\n\n## Building for Production\n\nTo create an optimized production build:\n\n```bash\nnpm run build\n```\n\nThe built files will be in the `dist` directory.\n\n## Demo\n\n🎮 **Live Demo**: [https://fdograph.github.io/snake-game/](https://fdograph.github.io/snake-game/)\n\n## Contributing\n\n1. Fork the project\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## License\n\nThis project is open source and available under the [MIT License](LICENSE).\n\n## Author\n\nCreated by [fdograph](https://github.com/fdograph)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdograph%2Fsnake-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdograph%2Fsnake-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdograph%2Fsnake-game/lists"}