Skip to content

NikitaF24/hellohello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classic Snake

A minimal browser-based Snake game with no external dependencies.

Run locally

npm run dev

Then open http://localhost:3001.

If port 3001 is already in use, run PORT=3002 npm run dev and open http://localhost:3002.

Run tests

npm test

Manual verification

  • Arrow keys and WASD steer the snake.
  • Space pauses and resumes the game.
  • Restart resets the score and board after a loss.
  • Hitting a wall or the snake body ends the game.
  • Eating food grows the snake and increments the score.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors