[ ] The game area is a finite amount of cells. The edges of the area cannot be passed through.
[ ] The snake starts with a size of 4 cells in the middle of the area.
[ ] The snake moves forward automatically at a constant speed. Each section of its tail follows the exact
same path as the head.
[ ] The snake can turn right or left when the corresponding key is pressed.
[ ] The goal of the game is to feed the snake so that it can grow. The game area MUST NEVER have less
than one element of food.
[ ] A food element fills a single cell.
[ ] When the head of the snake goes over a cell with food, the food disappears and a one-cell-long section is added at the tail of the snake. The new section appears in the first free tile next to the last cell of the tail. If there is no free cell, the game is over. If a new section is added, a new food element appears.
[ ] When the head of the snake runs into the border of the screen or a part of its body, the game is over
Core rules