Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 squares = [ a0, a1.. ] // 9 fields
- 2 diresctions = [ up, right, down, left ]
- 3
- 4 for x in squares:
- 5 for y in directions:
- 6 // do something with the coordinates in x
- 7 // call your direction thing
- 8 y()
- 9
- 10 // 2 loops^^
- ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement