This is the pygame code repository, a place to store, display and share community-submitted python game code. Our goal here is to help the members of the pygame community learn from one another, and to reduce the amount of duplication that occurs in pygame projects. Please feel free to examine and use any of the code in the repository in your project.
The repository is always accepting submissions! If you have a snippet of code you think others could benefit from, please select "submit" above. We're looking for code samples ranging in size from single functions to fully-developed classes, touching on any area of python game creation.