Created
October 23, 2020 11:38
-
-
Save masouduut94/7a2e7f135e2b9148339dd5ccac3f05cf 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
class GameMeta: | |
PLAYERS = {'none': 0, 'white': 1, 'black': 2} | |
INF = float('inf') | |
GAME_OVER = -1 | |
EDGE1 = 1 | |
EDGE2 = 2 | |
NEIGHBOR_PATTERNS = ((-1, 0), (0, -1), (-1, 1), (0, 1), (1, 0), (1, -1)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment