12 lines
252 B
Python
12 lines
252 B
Python
BACKGROUND_COLOR = 0, 0, 0
|
|
APPLE_COLOR = 250, 0, 0
|
|
SNAKE_COLOR = 0, 250, 0
|
|
FONT_COLOR = 250, 250, 250
|
|
|
|
MAP_SIZE = 41, 31
|
|
TILE_SIZE = 20
|
|
RESOLUTION = MAP_SIZE[0] * TILE_SIZE, MAP_SIZE[1] * TILE_SIZE
|
|
|
|
INITIAL_SNAKE_SIZE = 3
|
|
|
|
SCORES_FILE = 'scores.snake'
|