Skip to content

Commit

Permalink
update color
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangming committed Jan 17, 2022
1 parent b6ef63a commit 18a91d3
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,4 @@ dmypy.json
# Pyre type checker
.pyre/
*.mp4
.idea/
32 changes: 31 additions & 1 deletion gobigger/utils/colors.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FOOD_COLOR_GRAYSCALE = (1)
THORNS_COLOR_GRAYSCALE = (2)
SPORE_COLOR_GRAYSCALE = (3)
PLAYER_COLORS_GRAYSCALE = [(i) for i in range(4, 30)]
PLAYER_COLORS_GRAYSCALE = [(i) for i in range(4, 100)]
BACKGROUND_GRAYSCALE = (255)

FOOD_COLOR = (253, 246, 227)
Expand All @@ -26,6 +26,36 @@
[
(195,206,231), # gray
],
[
(128,128,128), # gray2
],
[
(128,0,0), # maroon
],
[
(128,128,0), # olive
],
[
(0,128,0), # green2
],
[
(128,0,128), # purple2
],
[
(0,128,128), # teal
],
[
(0,0,128), # navy
],
[
(255,127,80), # coral
],
[
(255,215,0), # goal
],
[
(154,205,50), # yellow green
],
]
BACKGROUND = (0, 43, 54)

Expand Down

0 comments on commit 18a91d3

Please sign in to comment.