This is a mini project focused on building the classic Snake game. The main objective is to exercise programming logic and concepts of HTML canvas.
- Use the arrow keys to move the snake.
- The objective of the game is to eat as many fruits as possible without hitting the snake's own body.
- The snake grows every time it eats a fruit.
- The game ends when the snake hits the own body.
- Clone this repository
- Open the
index.html
file in your web browser