pygame modules pygame event this module manages events and the event queue for example pygame event get(retrieves events from the event queuepygame event poll(gets single event from the queue and pygame event peek(tests to see if there are any event types on the queue pygame draw the draw module is used to draw simple shapes onto surface for exampleit provides functions for drawing rectangle (pygame draw rect) polygona circlean ellipsea line etc pygame font the font module is used to create and render truetype fonts into new surface object most of the features associated with fonts are supported by the pygame font font class free standing module functions allow the module to be initialised and shutdownplus functions to access fonts such as pygame font get_fonts(which provides list of the currently available fonts pygame image this module allows images to be saved and loaded note that images are loaded into surface object (there is no image class unlike many other gui oriented frameworkspygame joystick the joystick module provides the joystick object and several supporting functions these can be used for interacting with joysticksgamepads and trackballs pygame key this module provides support for working with inputs from the keyboard this allows the input keys to be obtained and modifier keys (such as control and shiftto be identified it also allows the approach to repeating keys to be specified pygame mouse this module provides facilities for working with mouse input such as obtaining the current mouse positionthe state of mouse buttons as well as the image to use for the mouse pygame time this is the pygame module for managing timing within game it provides the pygame time clock class that can be used to track time online resources there is great deal of information available on pygame includingnews://gmane comp python pygame the official pygame news group