This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
notes:comporg:spring2024:projects:mpg0 [2024/02/08 02:31] – [Game loop] rspringe | notes:comporg:spring2024:projects:mpg0 [2024/02/08 02:32] (current) – [Game loop] rspringe | ||
---|---|---|---|
Line 11: | Line 11: | ||
The game loop for Snake is simple: you will control a snake around the screen to eat pieces of food. Once a piece of food has been eaten, your score will increase, and the snake will get longer. | The game loop for Snake is simple: you will control a snake around the screen to eat pieces of food. Once a piece of food has been eaten, your score will increase, and the snake will get longer. | ||
- | The games ends when the head of the snake runs into either a wall, or another part of its body. | + | The game ends when the head of the snake runs into either a wall, or another part of its body. |
====Sprites==== | ====Sprites==== | ||