https://github.com/mwelwankuta/angular-snake-game
a snake game written in angular and typescript
https://github.com/mwelwankuta/angular-snake-game
angular snake-game typescript
Last synced: over 1 year ago
JSON representation
a snake game written in angular and typescript
- Host: GitHub
- URL: https://github.com/mwelwankuta/angular-snake-game
- Owner: mwelwankuta
- Created: 2024-01-17T10:46:41.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-02T04:27:38.000Z (about 2 years ago)
- Last Synced: 2025-01-17T08:46:04.142Z (over 1 year ago)
- Topics: angular, snake-game, typescript
- Language: TypeScript
- Homepage: https://ng-snake.vercel.app
- Size: 127 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular Snake Game
This repository contains a simple Snake game built using Angular. It's a project created for learning purposes to understand the basics of Angular framework.
## Features
- Classic Snake game mechanics
- Responsive design
- Score tracking
## Getting Started
To run the game locally, follow these steps:
1. Clone this repository to your local machine.
2. Navigate to the project directory.
3. Run `npm install` to install dependencies.
4. Run `ng serve` for a dev server. Navigate to `http://localhost:4200/` in your browser.
## How to Play
- Use arrow keys to control the snake's direction.
- Eat the food (red squares) to grow the snake and increase your score.
- Avoid colliding with the walls or the snake's body.
## Contributing
Contributions are welcome! Feel free to submit issues or pull requests.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.