pygame-snake/config.py

16 lines
339 B
Python
Raw Normal View History

2018-04-29 11:20:05 +02:00
BACKGROUND_COLOR = 0, 0, 0
2018-04-29 11:26:50 +02:00
APPLE_COLOR = 250, 0, 0
SNAKE_COLOR = 0, 250, 0
2018-04-29 11:20:05 +02:00
FONT_COLOR = 250, 250, 250
MAP_SIZE = 41, 31
TILE_SIZE = 20
2018-04-30 20:57:24 +02:00
MAP_RESOLUTION = MAP_SIZE[0] * TILE_SIZE, MAP_SIZE[1] * TILE_SIZE
RESOLUTION = MAP_RESOLUTION[0], MAP_RESOLUTION[1] + 50
2018-04-29 11:20:05 +02:00
INITIAL_SNAKE_SIZE = 3
2018-04-29 20:58:38 +02:00
2018-04-30 21:43:49 +02:00
MAX_HIGH_SCORES_COUNT = 10
2018-04-29 20:58:38 +02:00
SCORES_FILE = 'scores.snake'