Exemplo n.º 1
0
def testShouldPositionRight(player):
    if player.counter % 100 == 0:
        if goalTran.shouldPositionRight(player):
            print "position right"
        elif goalTran.shouldPositionLeft(player):
            print "position left"
        elif goalTran.shouldPositionCenter(player):
            print "postion center"

    return player.stay()