def playBeatmap(bmap): frontend.gameLoop(game.Game(bmap, frontend))
def playBeatmap(bmap): try: frontend.gameLoop(game.Game(bmap, frontend)) finally: frontend.shutdown()