Sztuczna_Inteligencja_Gr16/stale.py

34 lines
697 B
Python

from enum import Enum
FPS = 120
KROK_AGENTA1 = 2
SZEROKOSC_OKNA = 1080
WYSOKOSC_OKNA = 760
BOK_AGENTA1 = 100
BIALY = (255, 255, 255)
JASNOSZARY1 = (200, 200, 200)
ZIELONY1 = (26, 122, 26)
GREY =(150,150,150)
RED =(255,0,0)
BLUE=(55,55,255)
BLACK =(0,0,0)
GREEN =(0,200,0)
DARKGREY=(150,150,150)
UGLY_PINK=(255,0,255)
BROWN=(153,76,0)
GOLD=(153,153,0)
DARKGREEN=(0,102,0)
DARKORANGE=(255,128,0)
NUMBER_OF_BLOCKS_WIDE=8
NUMBER_OF_BLOCKS_HIGH=8
BLOCK_HEIGHT=round(SZEROKOSC_OKNA/NUMBER_OF_BLOCKS_HIGH)
BLOCK_WIDTH=round(WYSOKOSC_OKNA/NUMBER_OF_BLOCKS_WIDE)
MAPFILE="map.txt"
TITLE ="Gierka"
class KIERUNEK(Enum):
GORA = 0
DOL = 1
LEWO = 2
PRAWO = 3