W or ▲ | Move Snake Up
A or ◀ | Move Snake Left
S or ▼ | Move Snake Down
D or ▶ | Move Snake Right
1. The snake moves continuously in the direction it is facing.
2. When the snake eats an apple, it grows in length.
3. The game ends if the snake collides with itself or the boundaries.