def solve7(): TurnOn() TurnRight() Move() PickUp() Move() PickUp() MultiMove(2) PickUp() Move() PickUp() TurnLeft() MultiMove(3) PickUp() TurnLeft() Move() PutDown() Move() PutDown() Move() PickUp() Move() PutDown() MultiMove(2) PutDown() TurnAround() MultiMove(4) TurnRight() MultiMove(5) TurnRight() Move() MultiPutDown(2) MultiMove(2) TurnOff()
def solve4(): TurnOn() TurnRight() MultiMove(4) TurnRight() MultiMove(2) PickUp() Move() PickUp() MultiMove(2) PutDown() PutDown() TurnRight() MultiMove(3) TurnOff()
def solve6(): TurnOn() MovePickUpSeq(3) TurnRight() MovePickUpSeq(2) MultiMove(2) MultiPutDown(5) TurnRight() MultiMove(2) PickUp() Move() PickUp() MultiMove(2) MultiPutDown(2) TurnRight() MultiMove(4) TurnRight() Move() PickUp() MultiMove(2) PutDown() TurnRight() MultiMove(2) TurnRight() Move() TurnOff()
def solve5(): TurnOn() TurnAround() MoveDownRightDiagonal() PickUp() MoveDownRightDiagonal() PutDown() MoveDownRightDiagonal() PickUp() MoveDownRightDiagonal() PickUp() MoveDownRightDiagonal() PutDown() PutDown() MoveDownRightDiagonal() TurnOff()
def solve1(): TurnOn() rightMove() PickUp() Move() PutDown() TurnRight() finish()
def solve1(): TurnOn() TurnRight() Move() PickUp() Move() PutDown() TurnRight() Move() TurnOff()
def solve7(): TurnOn() rightMove() pickupChain() Move() pickupChain() tripleMove() PickUp() moveLeft() for x in range(2): PutDown() Move() pickupChain() PutDown() doubleMove() PutDown() moveLeft() moveLeft() for x in range(2): tripleMove() rightMove() dropAll() Move() finish()
def drop(): if IsAtDeposit() == True: PutDown()
def MultiPutDown(n): for i in range(n): PutDown()
def dropAll(): while hasPickUps(): PutDown()