Advertisement
invisibowl

key-homescreen mapping (CSE)

Mar 15th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. 1->A:1->B:1->R:1->C
  2. Repeat K<21 and K!=0
  3. getKey->K
  4. If K!=0:Then
  5. iPart(K/10->A
  6. 10fPart(K/10->B
  7. If K!=D:Then
  8. Output(A,B," "
  9. K->D
  10. End
  11. If B<6
  12. 5B->B
  13. B-2->B
  14. Repeat C=B and R=A
  15. Output(R,C,"
  16. R+1(R<A)-1(R>A->R
  17. C+1(C<B)-1(C>B->C
  18. Output(R,C,"o
  19. End
  20. Output(A,B,"o
  21. A->R:B->C
  22. End
  23. End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement