-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Tidied up make move logic (moved legality check into a separate met…
…hod) - Tidied up definitions from app.py -> constants.py (such as display size etc) - Tidied up grid drawing by moving all parameters to constants.py and just iterating over parameters and drawing them - Added new colors for blue and red marker
- Loading branch information
Showing
4 changed files
with
162 additions
and
154 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
BLACK = (0, 0, 0) | ||
WHITE = (255, 255, 255) | ||
RED = (250, 0, 0) | ||
RED = (255, 94, 88) # (250, 0, 0) | ||
RED_HIGHLIGHT = (255, 219, 212) | ||
AVAILABLE_MOVE = (255, 255, 203) # Yellow | ||
GREEN = (0, 200, 0) | ||
BLUE = (0, 0, 250) | ||
BLUE = (59, 214, 255) # (0, 0, 250) | ||
YELLOW = (0, 250, 250) | ||
|
||
BRIGHT_RED = (255, 0, 0) | ||
BRIGHT_GREEN = (0, 255, 0) | ||
|
||
|
||
# RED_RECT = 'ff5e58' | ||
# RED_RECT_HIGHLIGHT = 'ffdbd4' | ||
# BLUE_RECT = '3bd6ff' | ||
# FORCED_BOARD = 'ffffcb' |
Oops, something went wrong.