Pygame

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.

[12] Pygame uses the Simple DirectMedia Layer (SDL) library,[a] with the intention of allowing real-time computer game development without the low-level mechanics of the C programming language and its derivatives.

[5] Other features that SDL does have include vector math, collision detection, 2D sprite scene graph management, MIDI support, camera, pixel-array manipulation, transformations, filtering, advanced freetype font support, and drawing.

Following disagreements between former core developers and the repository owner, a fork known as pygame-ce (Community Edition) was created.