New snake game
Let's play a new game of Snake!
Game Settings:
- The game will be played in a 10x10 grid.
- The snake will start at the center of the grid.
- The snake will move in a random direction (up, down, left, or right) at the start of each turn.
- The goal is to eat the food pellets (represented by the symbol "O") and avoid running into the walls or itself.
- Each turn, the snake will grow by one unit in length.
- If the snake runs into the wall or itself, the game will end.
Initial State:
Here is the initial state of the game:
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
---------
11 | O | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20
---------
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30
---------
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40
---------
41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50
---------
51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60
---------
61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70
---------
71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80
---------
81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90
---------
91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100
The snake is represented by the symbol "S" and is currently at the center of the grid. The food pellet is represented by the symbol "O".
Your Turn:
You can move the snake in one of the four directions (up, down, left, or right) by typing "U", "D", "L", or "R" respectively. For example, if you want to move the snake up, you would type "U".
What would you like to do on your first turn?