Jake
2015-06-20, post № 39
games, programming, Pygame, Python, #apples, #simple, #simple snake, #snake, #snake game, #snakes, #video game
Continuing to clone famous and fairly easy games, I now made my own version of Snake.
In this version you cannot leave the screen, there are never more than three apples on the screen and there are no blocks inside the field.
Your current score is displayed in the screen caption.
To get more information about Snake, check this Wikipedia entry.
Controls
- Arrow keys move the snake,
- Escape pauses and unpauses the game,
- ‘r’ resets the game.
Source code: jake.py
Extra assets: jake-3.png