Pygame is a Python wrapper over around the SDL library with a few unique libraries with an emphasis on game programming, written by Pete Shinners. There are a number of libraries developed on top of Pygame such as GUI libraries like GooeyPy and PGU's gui. It is licensed under the LGPL. The latest release is version 2.0.0 released on October 28, 2020.
Shortly before the start of the Pygame project in October 2000, Pete Shinners discovered SDL and the Python programming language. He was then thinking about mixing Python and SDL when he discovered PySDL, which was exactly what he was looking for. However, the sudden death of PySDL spurred him to create a library that would take full advantage of Python. In April of 2001, after six months of development, version 1.0 of the Pygame library was released.
There are several libraries that are built on top of Pygame, among them:
There are numerous games using the Pygame library, as listed below.
- DUGA - A raycasted FPS game.
- Snowballz - A RTS that involves penguins.
- Eskimo-run - A game developed as a tutorial about writing games using Python/Pygame.
- Search for the Red Herring - A submarine combat game that also involved penguins.
- Pillows - This game was created as part of the PyWeek warmup.
- Magic Gardeners Tournament - A PyWeek entry that involved gardening.
- Forest_patrol - This PyWeek warmup is an RTS game.
- OpenRTS - It also used PGU in addition to Pygame.
- Frets on Fire - open Source'd Guitar Hero clone.