August 2015
Intermediate to advanced
280 pages
5h 31m
English
We now have our Snake game at the point where it is almost a complete game; we just need to add a few more things to achieve this. Currently, our game stops when the snake collides with itself. What we need to add is a way to restart the game if this happens, so the player can have another go!
To do this, we will do the following:
When you think about it, a game can have many states. Seriously, pick one of your favorite games and consider the states the game could be in. Let's list some out:
It could be argued that start and restart are the same thing, but that really depends on the game and what you, as the game developer, ...
Read now
Unlock full access