From 18a91d3201e9fbad4d010381c8f72d9a6f731a0f Mon Sep 17 00:00:00 2001 From: zhangming Date: Mon, 17 Jan 2022 19:19:38 +0800 Subject: [PATCH] update color --- .gitignore | 1 + gobigger/utils/colors.py | 32 +++++++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2c88526..f6fd55f 100644 --- a/.gitignore +++ b/.gitignore @@ -128,3 +128,4 @@ dmypy.json # Pyre type checker .pyre/ *.mp4 +.idea/ diff --git a/gobigger/utils/colors.py b/gobigger/utils/colors.py index b35831b..fd5bedc 100644 --- a/gobigger/utils/colors.py +++ b/gobigger/utils/colors.py @@ -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) @@ -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)