def changemap(cn, args): args = args.split(' ') sauerbomber.message(args[0]) sauerbomber.message(args[1]) sauerbomber.setMap(args[0], int(args[1]))
def rotate(): logging.info('rotate') mode = sauerbomber.gameMode() sauerbomber.setMap(getNextMap(mode), mode) logging.info('rotated')