daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         int randomDirection = randomInteger();
  2.         switch(randomDirection) {
  3.             case 1:
  4.                 right();
  5.                 break;
  6.             case 2:
  7.                 left();
  8.                 break;
  9.             case 3:
  10.                 up();
  11.                 break;
  12.             case 4:
  13.                 down();
  14.                 break;
  15.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top