pygame 2.1.2


Python Game Development

Python Game Development

Stars: 4279, Watchers: 4279, Forks: 1906, Open Issues: 291

The pygame/pygame repo was created 4 years ago and was last updated 47 minutes ago.
The project is very popular with an impressive 4279 github stars!

How to Install pygame

You can install pygame using pip

pip install pygame

or add it to a project with poetry

poetry add pygame

Package Details

A community project.
GitHub Repo


  • Games/Entertainment
  • Multimedia/Graphics
  • Multimedia/Graphics/Capture/Digital Camera
  • Multimedia/Graphics/Capture/Screen Capture
  • Multimedia/Graphics/Graphics Conversion
  • Multimedia/Graphics/Viewers
  • Multimedia/Sound/Audio
  • Multimedia/Sound/Audio/MIDI
  • Multimedia/Sound/Audio/Players
No  pygame  pypi packages just yet.


A list of common pygame errors.

No  pygame  errors just yet.

Code Examples

Here are some pygame code examples and snippets.

No  pygame  code examples just yet.

GitHub Issues

The pygame package has 291 open issues on GitHub

  • Add optional parameter 'consider_alpha' to the transform.average_colo…
  • Requesting YUV Support for image.frombuffer()
  • Fix Pygame imported class typehints
  • Add pixel format name into display info
  • fix some bugs in
  • Update the image doc, delineate bytes and str
  • Add test for pygame.locals
  • 2.1.2
  • display.update() on mac does not update exactly the area given
  • Add some more events
  • clean modinit code, fix bugs, use recommended API
  • Clean up some module initialization code
  • Remove support for NumPy array_struct
  • Low gamma on windows
  • Allow item access/item assignment to Surfaces

See more issues on GitHub

See Also