pygame-snake/config.py

11 lines
222 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
RESOLUTION = MAP_SIZE[0] * TILE_SIZE, MAP_SIZE[1] * TILE_SIZE
INITIAL_SNAKE_SIZE = 3