def local_game(self): game = core.Game() p_1 = LocalPlayer() p_2 = LocalPlayer() game.add_player(p_1) game.add_player(p_2) game.random_beginner() w1 = GameWindow(p_1) w2 = GameWindow(p_2) w1.show() w2.show() self.windows.append(w1) self.windows.append(w2)
def show_game(self, game): g = GameWindow(game) g.show()