This is my code
class GameDictionary(object): def __init__(self): pygame.init() game_display.fill(white) self.gam