SHARE
TWEET

Untitled

a guest May 28th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CLS
  2. SCREEN 12
  3.  
  4. x = 0
  5. y = 0
  6.  
  7. DO WHILE 1 = 1
  8.         k$ = INKEY$
  9.         IF k$ = CHR$(0) + "H" THEN
  10.                 CLS
  11.                 y = y - 5
  12.         ELSEIF k$ = CHR$(0) + "P" THEN
  13.                 CLS
  14.                 y = y + 5
  15.         ELSEIF k$ = CHR$(0) + "M" THEN
  16.                 CLS
  17.                 x = x + 5
  18.         ELSEIF k$ = CHR$(0) + "K" THEN
  19.                 CLS
  20.                 x = x - 5
  21.         END IF
  22.        
  23.         LINE (10 + x, 20 + y)-(20 + x, 40 + y), 4, BF
  24.        
  25. LOOP
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top