{"id":22880271,"url":"https://github.com/devsazal/snake-game-angular","last_synced_at":"2026-04-29T04:38:26.881Z","repository":{"id":266178655,"uuid":"897542980","full_name":"DevSazal/snake-game-angular","owner":"DevSazal","description":"Snake Game - Angular v19","archived":false,"fork":false,"pushed_at":"2024-12-24T00:25:06.000Z","size":282,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T06:44:20.312Z","etag":null,"topics":["angular","frontend-web","typescript"],"latest_commit_sha":null,"homepage":"https://devsazal.github.io/snake-game-angular/","language":"TypeScript","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/DevSazal.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":"2024-12-02T20:10:43.000Z","updated_at":"2025-01-02T21:24:08.000Z","dependencies_parsed_at":"2024-12-03T01:24:32.613Z","dependency_job_id":"ca1f617e-2681-4dd2-9e92-ce1ac9b0e5af","html_url":"https://github.com/DevSazal/snake-game-angular","commit_stats":null,"previous_names":["devsazal/snake-game-angular"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSazal%2Fsnake-game-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSazal%2Fsnake-game-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSazal%2Fsnake-game-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSazal%2Fsnake-game-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevSazal","download_url":"https://codeload.github.com/DevSazal/snake-game-angular/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246489949,"owners_count":20785928,"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":["angular","frontend-web","typescript"],"created_at":"2024-12-13T17:17:09.743Z","updated_at":"2026-04-29T04:38:21.854Z","avatar_url":"https://github.com/DevSazal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg width=\"55%\" alt=\"Snake Game - Angular By DevSazal\" src=\"https://github.com/user-attachments/assets/6eb62631-a0e1-4487-b96b-58500039d844\" /\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n# Snake Game\n\nThe game was developed on angular 19.0.1.\n\n\u003cbr\u003e\n\nLet's clone the repository on your machine.\n\nThe application includes the following files and folders:\n\n```bash\n# architecture\n# deep drive\n\ntodo-app/\n├── src/\n│   ├── app/\n│   │   ├── components/\n│   │   │   ├── game/  # container component\n│   │   │   │   ├── game.component.html\n│   │   │   │   ├── game.component.css\n│   │   │   │   └── game.component.ts\n│   │   │   │\n│   │   │   ├── playground/  # presentation component\n│   │   │   │   ├── playground.component.html\n│   │   │   │   ├── playground.component.css\n│   │   │   │   └── playground.component.ts\n│   │   │   │\n│   │   ├── models/\n│   │   │   ├── food.model.ts\n│   │   │   └── snake.model.ts\n│   │   │   │\n│   │   ├── services/\n│   │   │   ├── game.service.ts\n│   │   │   └── score.service.ts  # use localStorage\n│   │   │\n│   │   ├── app.component.html\n│   │   ├── app.component.css\n│   │   ├── app.component.ts\n│   │   ├── app.config.ts\n│   │   └── app.routes.ts\n│   │\n│   ├── styles.css\n│   ├── index.html\n│   └── main.ts\n│\n├── angular.json\n├── package.json\n├── tsconfig.json\n└── README.md\n\n```\n\n\n## Installation and Configuration\n\nLet's move to the cloned directory with your terminal.\n\nTo install, build, and start the application for the first time, run the following commands:\n\n```bash\nnpm install\n```\n\u003cbr\u003e\n\nAlready done? Cool! You are almost ready to enjoy the game ⛳️🐟🐍\n\n### Build \u0026 Run:\n\nTo start a local development server, run:\n\n```bash\nng serve\n\n```\n\nOnce the server is running, open your browser and navigate to `http://localhost:4200/`\n\n\n### Game Rules:\n\n* 15 seconds timer to collect food or game over\n* Game over if the snake hits the playground walls\n* Game over if snake's head collides with the body\n* Just move in the playground and grow by collecting food\n* Keyboard control: `ArrowUp`, `ArrowDown`, `ArrowLeft`, `ArrowRight`\n\n\n## 🧑‍💻 Stay in touch\n\n- Author - [Sazal Ahamed](https://sazal.vercel.app)\n- Linkedin - [Profie](https://www.linkedin.com/in/sazal-ahamed/)\n- GitHub - [DevSazal](https://github.com/DevSazal)\n\n## License\n\n[MIT licensed](LICENSE) © 2024\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsazal%2Fsnake-game-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevsazal%2Fsnake-game-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsazal%2Fsnake-game-angular/lists"}