Design the classic snake game: the snake moves on a grid, grows when it eats food, and the game ends when it hits a wall or itself.
Design the classic snake game: the snake moves on a grid, grows when it eats food, and the game ends when it hits a wall or itself.
Opens with the full question.