pygqs
A quick start template for pygame
projects
- Imports
logging
and sets level toINFO
- Imports
randint()
fromrandom
because so many games need dice or similar - Defines RGB values as constants for 16 basic colors
- Imports and initalizes
pygame
- Provides for a configurable
CAPTION
- Provides for a configurable frame rate
FPS
- Provides a constant to configure the name of the game
- Configures surface to serve as main game window — adjust
HEIGHT
andWIDTH
as desired - Sets up main game loop