For games written using PyGame