Snake is an older and popular video game that was developed back in the 70s. It became famous mainly after Nokia delivered Snake by default on the earlier cell phones (for example, Nokia 3210). There are several versions of Snake. Sometimes the outer wall is penetrable, sometimes not. Sometimes there are different obstacles or bonus points, sometimes not.
The user controls the line (often called a snake, hence the name of the game) and tries to catch the red dot (often called an apple). Each time the snake eats the apple, it grows and the apple appears in a different place. The object of the game is to keep going until you can't anymore. If the snake collides with itself, the game is lost.
Currently, the game is optimized for computers. The control on smartphones or tablet does not work yet, but I am working on a solution.
The user controls the snake with the Up, Down, Left and Right keys on the keyboard. The snake can go through the wall. Otherwise, the game is very simple, that is, there are no other obstacles for the snake. For every apple the snake eats, the user gets one point. The snake then becomes one pixel longer each time. If the snake collides with itself through the control of the user, the game is over. The user can then enter his score into the high score list.