4b6117779f
Co-authored-by: Marcin Matoga <marmat35@st.amu.edu.pl> Co-authored-by: Sebastian Piotrowski <sebpio@st.amu.edu.pl> Co-authored-by: Ladislaus3III <Ladislaus3III@users.noreply.github.com>
21 lines
467 B
Python
21 lines
467 B
Python
# 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
|
|
FPS = 60
|
|
TITLE = "Sweeper Demo"
|
|
BGCOLOR = DARKGREY
|
|
|
|
|
|
GRIDWIDTH = WIDTH / TILESIZE
|
|
GRIDHEIGHT = HEIGHT / TILESIZE |