Welcome to the Snake Game! This is a simple console-based game where the player controls a snake that grows in length as it eats fruits. The objective is to grow the snake as long as possible without colliding with the walls or itself.
-
Use the 'w', 's', 'a', and 'd' keys to control the snake's movement:
'w': Move the snake up
's': Move the snake down
'a': Move the snake left
'd': Move the snake right
-
During the game, you will be asked math and relational questions. Answering them correctly will increase your score and snake length.
-
Avoid hitting the walls or the snake's own body. Colliding with any of these will end the game.