Skip to content

mwelwankuta/angular-snake-game

Repository files navigation

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 file for details.

About

a snake game written in angular and typescript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published