Pygame is a by Pete Shinners developed, game programming serving set of cross-platform Python modules.

It contains modules for playing and controlling graphics and sound, as well as for querying input devices (keyboard, mouse, joystick ). As a basis Pygame uses the Simple DirectMedia Layer library. The aim is to develop computer games, without the need to rely on low-level programming languages ​​such as C. This is based on the assumption that the most computationally intensive functions within a computer game ( primarily graphics routines ) can be completely abstracted from the game logic and therefore a high-level programming language such as Python can be used to make the game as such and its expiration to structure.