This is a classic snake game implemented in Javascript.
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.
To start or pause the game, use Esc button. To navigate the snake, use the arrows. To restart the game, just reload a page.