2 ms·
The first snippet calls robot.jump() every loop. The second doesn’t not.
by styfle 9y ago
The first snippet calls robot.jump() every loop. The second doesn’t not.
- IanCal 9y agoTrue, although as someone else points out (contrary to what I thought) only the last runnable action is done. If that wasn't the case, then swapping things around to be something more like "move_next_turn" would be clearer I think.