Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnakeGame

  • Clone of classic snake game made using pygame module

Different files in game

  1. apple.py: Class for representing an apple and its functions
  2. block.py: Class for representing one part of the snake and its functions
  3. snake.py: Class for representing whole snake body and its functions
  4. game.py: Main file which has game loop

How to run it?

Run the game.py file

How to play?

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.

About

Snake game made using the pygame module in python

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages