GenericAI_Sweeper/settings.py

21 lines
467 B
Python
Raw Normal View History

2021-03-14 13:42:33 +01:00
# define some colors (R, G, B)
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)
DARKGREY = (40, 40, 40)
LIGHTGREY = (100, 100, 100)
GREEN = (0, 255, 0)
RED = (255, 0, 0)
YELLOW = (255, 255, 0)
# game settings
MAP_SIZE = 7
TILESIZE = 100
WIDTH = TILESIZE * MAP_SIZE # 16 * 64 or 32 * 32 or 64 * 16
HEIGHT = TILESIZE * MAP_SIZE # 16 * 48 or 32 * 24 or 64 * 12
2021-03-14 13:42:33 +01:00
FPS = 60
2021-03-31 15:27:08 +02:00
TITLE = "Sweeper Demo"
2021-03-14 13:42:33 +01:00
BGCOLOR = DARKGREY
2021-03-14 13:42:33 +01:00
GRIDWIDTH = WIDTH / TILESIZE
GRIDHEIGHT = HEIGHT / TILESIZE