This is a remake of the original Snake Game. The player starts the game by pressing the button and uses the up, down, right and left keys to guide the snake. The snake grows every time it eats the food. If the snake collides with the four walls or itself its gameover.
What I Learnt
To improve the game I would show a message 'GameOver' and their score once the player has lost. While also having a high score table so players can put their name and scores on display.
Also for smaller devices you can only start the game by pressing the button, but can't navigate the snake to play the game. So, creating 4 direction buttons next to the game.