Skip to content

Soni295/Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

First download from the repository

install all dependencies

$ git clone https://github.com/Soni295/Snake-Game.git
$ cd Snake-Game
$ npm install

use it which compile all file ".ts"

$  npm run build

and finally $ npm start for start the server on port 3000

$ npm run start

Controls

  • arrow Up
  • arrow Down
  • arrow Left
  • arrow Right
  • P for pause the game

Gameplay

  • You can select the speed when starting.
  • According to the difficulty, the points received per block are higher.
  • The speed will gradually increase.

Click here to start

Snake Game