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.
- Classic Snake game mechanics
- Responsive design
- Score tracking
To run the game locally, follow these steps:
- Clone this repository to your local machine.
- Navigate to the project directory.
- Run
npm install
to install dependencies. - Run
ng serve
for a dev server. Navigate tohttp://localhost:4200/
in your browser.
- 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.
Contributions are welcome! Feel free to submit issues or pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.