Skip to content

The Snake Game is a visually stunning arcade game coded in TypeScript and styled with SCSS.

Notifications You must be signed in to change notification settings

eng-mohammad-mousa/Snake_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Snake Game

The Snake Game is a classic arcade game where the player controls a snake that moves around the screen, eating food and growing in length. The objective is to guide the snake to eat as much food as possible without colliding with its own body.


Live Demo

You can play the game live by visiting the following link: Live Demo


Features

  • Simple and intuitive controls: The snake is controlled using arrow keys.
  • Accelerating velocity: The snake's speed increases as it devours multiple meals, enhancing the exhilaration of the game.
  • Random food generation: Food is randomly placed on the game screen for the snake to eat.
  • Scoring: The player's score increases with each food item eaten by the snake.
  • Game Over condition: The game ends if the snake collides with its own body.
  • High score tracking: The highest score achieved by the player is displayed.
  • Pause button: The game includes a pause button that allows the player to take a break and resume the game after a period of time.

Installation

Follow the steps below to run the Snake Game project:

  1. Download or clone the project from the GitHub repository:

    git clone https://github.com/eng-mohammad-mousa/Snake_Game.git
    
  2. Navigate to the project directory.

  3. Open the index.html file in your preferred web browser. You can do this by double-clicking on the index.html file or right-clicking and selecting "Open With" your desired web browser.

Now you should be able to play the Snake Game by following these installation steps. Happy gaming!


Contributing

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue on the GitHub repository.