def init_game(self): self.board = new_board() self.new_stone() self.level = 1 self.score = 0 self.lines = 0 pygame.time.set_timer(pygame.USEREVENT+1, 1000)