From Wikipedia, the free encyclopedia
Jump to: navigation, search
Pygame logo.png
Original author(s) Pete Shinners
Developer(s) Pygame Community
Initial release 28 October 2000 (2000-10-28)[1][2]
Stable release 1.9.1 / 6 August 2009; 5 years ago (2009-08-06)
Preview release Mercurial repository
Written in Python, C, and Assembly[3]
Operating system Cross-platform
Type API
License GNU Lesser General Public License

Pygame is a cross-platform set of Python modules designed for writing video games. It includes computer graphics and sound libraries designed to be used with the Python programming language. It is built over the Simple DirectMedia Layer (SDL) library, with the intention of allowing real-time computer game development without the low-level mechanics of the C programming language and its derivatives. This is based on the assumption that the most expensive functions inside games (mainly the graphics part) can be abstracted from the game logic, making it possible to use a high-level programming language, such as Python, to structure the game.

Pygame was built to replace pySDL after its development stalled.[4][5] Pygame was originally written by Pete Shinners and is released under the open source free software GNU Lesser General Public License. It has been a community project since 2004 or 2005. There are many tutorials[6][7][8][9][10][11] and there are regular competitions to write little games using Python (and usually but not necessarily, Pygame).[12]

Notable games using Pygame[edit]

See also[edit]



External links[edit]