Created
December 2, 2018 17:30
-
-
Save alexgolec/3ef05f3dd7fd19ae4c0ca5f52062d185 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NEIGHBORS_MAP = { | |
0: (4, 6), | |
1: (6, 8), | |
2: (7, 9), | |
3: (4, 8), | |
4: (3, 9, 0), | |
5: tuple(), # 5 has no neighbors | |
6: (1, 7, 0), | |
7: (2, 6), | |
8: (1, 3), | |
9: (2, 4), | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment