From bf51b1b511345a6c6efe23b89bda028243e22958 Mon Sep 17 00:00:00 2001 From: v7eZ3t Date: Wed, 17 Mar 2021 14:48:50 +0100 Subject: [PATCH] basic_agent --- constants.py | 2 +- main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/constants.py b/constants.py index 84561b6..ab7b2be 100644 --- a/constants.py +++ b/constants.py @@ -5,7 +5,7 @@ DISPLAY_SIZE_HORIZONTAL = 600 DISPLAY_SIZE_VERTICAL = 600 #TILE DIVIDER -TILE_DIVIDER = 100 +TILE_DIVIDER = 20 # number of tiles HORIZONTAL_TILES_NUMBER = DISPLAY_SIZE_HORIZONTAL/TILE_DIVIDER diff --git a/main.py b/main.py index 38ada52..65fe709 100644 --- a/main.py +++ b/main.py @@ -10,7 +10,7 @@ pygame.init() # display size in pixels display = pygame.display.set_mode((DISPLAY_SIZE_HORIZONTAL, DISPLAY_SIZE_VERTICAL)) # program name -pygame.display.set_caption('Tryryryry') +pygame.display.set_caption('Tractor') working = True