summaryrefslogtreecommitdiff
path: root/up_bot.py
blob: 4b2b403a9875d5382c550250824d7584a7ceb127 (about) (plain)
1
2
3
4
5
def up_bot(whoami, state):
    # Get the number of robots you control.
    n_robots = len(state.robots_by_player[whoami])
    # Tell them all to go up.
    return 'U' * n_robots