Skip to content

Abdul-Muizz545/SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages