- Clone of classic snake game made using pygame module
- apple.py: Class for representing an apple and its functions
- block.py: Class for representing one part of the snake and its functions
- snake.py: Class for representing whole snake body and its functions
- game.py: Main file which has game loop
Run the game.py file
Move the snake with the arrow keys making sure to not crash into the walls or to your own body. Press 'p' to pause the game.