Skip to content

sokoloowski/snake.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snake.js

This is a classic snake game implemented in Javascript.

Gameplay

The goal of the game is to score as many points as possible. The player scores a point each time the snake eats an apple. When the snake bites itself, the game is over.

The game can be paused, but when resumed, apple takes a new position.

Controls

To start or pause the game, use Esc button. To navigate the snake, use the arrows. To restart the game, just reload a page.