Skip to content

twizzler/pygame_snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pygame - Snake

A snake game built with python's pygame library.

This snake game was built using python 3.7 and pygame. However I've used an external library called pygame_textinput from a github repository to create the text input, obviously.

I've left a few comments there for you to understand the code just enough. There are things like scores and the snake tail (could be removed) to be fixed. Otherwise the game is functional.

Hopefully this will give you an idea of how pygame works and how you could make your own game. Other than that, I've the assets myself, by hand, yes, so no copyrights, just mine, but feel free to use them as you want.

Also, you can add me on discord: kevin#6832

Installation

Use the package manager pip to install pygame.

pip install pygame

Usage

python snake.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

A snake game built with python's pygame library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages