forked from s452751/AI_PRO
basic_agent
This commit is contained in:
parent
fa7b6e2829
commit
bf51b1b511
@ -5,7 +5,7 @@ DISPLAY_SIZE_HORIZONTAL = 600
|
|||||||
DISPLAY_SIZE_VERTICAL = 600
|
DISPLAY_SIZE_VERTICAL = 600
|
||||||
|
|
||||||
#TILE DIVIDER
|
#TILE DIVIDER
|
||||||
TILE_DIVIDER = 100
|
TILE_DIVIDER = 20
|
||||||
|
|
||||||
# number of tiles
|
# number of tiles
|
||||||
HORIZONTAL_TILES_NUMBER = DISPLAY_SIZE_HORIZONTAL/TILE_DIVIDER
|
HORIZONTAL_TILES_NUMBER = DISPLAY_SIZE_HORIZONTAL/TILE_DIVIDER
|
||||||
|
2
main.py
2
main.py
@ -10,7 +10,7 @@ pygame.init()
|
|||||||
# display size in pixels
|
# display size in pixels
|
||||||
display = pygame.display.set_mode((DISPLAY_SIZE_HORIZONTAL, DISPLAY_SIZE_VERTICAL))
|
display = pygame.display.set_mode((DISPLAY_SIZE_HORIZONTAL, DISPLAY_SIZE_VERTICAL))
|
||||||
# program name
|
# program name
|
||||||
pygame.display.set_caption('Tryryryry')
|
pygame.display.set_caption('Tractor')
|
||||||
|
|
||||||
working = True
|
working = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user