TDD, Game, Snake
Reference wiki
- Control the snakehead(⬆ ⬅ ⬇ ➡), and the snake can't back.
- Have one food on the game board, and food can not create on the snake body.
- If the snake eating the food, it will grow body.
- Game over if the snake touches wall or itself body.