Advertisement
Justin72731

1.10.5: Is There a Ball?

May 10th, 2017
2,153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. // Karel should put a ball on the first spot
  2. // if there isn't one already there and then move.
  3. function start() {
  4. if(noBallsPresent()) {
  5. putBall();
  6. }
  7. move();
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement