Martin McBride, 2021-03-02
Tags game development
Categories pygame
In Python libraries

pygame is an easy to use game development library for Python. It provides facilities for handling graphics, sound and user input (from keyboard, mouse or joystick), and many utilities to make game development easier.


  • Easy to create games and multimedia applications.
  • Lightweight.
  • Portable.
  • Uses 2D graphics, with good support for sprites, partiuclarly good for arcade style games.
  • Supports sound, inclduin mixing multiple sounds at the same time.
  • Supports keyboard, mouse or joystick.
  • Fast - based on Simple DirectMedia Layer (SDL) which is a multi-platform C library.
  • Cam be integrated with OPenGL fopr 3D games.
If you found this article useful, you might be interested in the book Computer Graphics in Python or other books by the same author.