Moduły pygame

https://www.pygame.org/docs/tut/newbieguide.html
A Newbie Guide to pygame

https://gameprogrammingpatterns.com/contents.html
Game Programming Patterns (free e-book)

WPROWADZENIE

Wybrane moduły pygame.

+-----------+-----------------------------------------------+
| cdrom     | playback                                      |
+-----------+-----------------------------------------------+
| cursors   | load cursor images, includes standard cursors |
+-----------+-----------------------------------------------+
| display   | control the display window or screen          |
+-----------+-----------------------------------------------+
| draw      | draw simple shapes onto a Surface             |
+-----------+-----------------------------------------------+
| event     | manage events and the event queue             |
+-----------+-----------------------------------------------+
| font      | create and render TrueType fonts              |
+-----------+-----------------------------------------------+
| image     | save and load images                          |
+-----------+-----------------------------------------------+
| joystick  | manage joystick devices                       |
+-----------+-----------------------------------------------+
| key       | manage the keyboard                           |
+-----------+-----------------------------------------------+
| mouse     | manage the mouse                              |
+-----------+-----------------------------------------------+
| sndarray  | manipulate sounds with numpy                  |
+-----------+-----------------------------------------------+
| surfarray | manipulate images with numpy                  |
+-----------+-----------------------------------------------+
| time      | control timing                                |
+-----------+-----------------------------------------------+
| transform | scale, rotate, and flip images                |
+-----------+-----------------------------------------------+

# Tak sprawdza się w kodzie obecność modułu 'font'.
if not pygame.font:
    print("Warning, fonts disabled")