def __init__(self, width, height): self.font = pygame.font.SysFont("arial", 48) self.entities = [] self.score = 0 self.scoreDisplay = None self.livesDisplay = None self.missDisplay = None self.misses = 0 #This is disgustingly hardcoded, but it works and Im too tired to deal with this self.grid = [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]] self.hammer = Entities.Hammer(0, 0) self.difficulty = 3000 self.challenge = self.difficulty self.offset = 75 self.lives = 5 self.moleHill = Image.getImage("res/moleHill.png") self.moleHill = pygame.transform.scale(self.moleHill, (100, 100)) super().__init__(width, height)