From 803757806ab443fd8317fdc4209c0e4f0597c8c3 Mon Sep 17 00:00:00 2001 From: v7eZ3t Date: Sun, 28 Mar 2021 17:29:08 +0200 Subject: [PATCH] basic_agent --- constants.py | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/constants.py b/constants.py index ab7b2be..193212b 100644 --- a/constants.py +++ b/constants.py @@ -4,15 +4,14 @@ DISPLAY_SIZE_HORIZONTAL = 600 DISPLAY_SIZE_VERTICAL = 600 -#TILE DIVIDER -TILE_DIVIDER = 20 +#TILE DIVIDER = TILE SIZE +TILE_SIZE = 2 # number of tiles -HORIZONTAL_TILES_NUMBER = DISPLAY_SIZE_HORIZONTAL/TILE_DIVIDER -VERTICAL_TILES_NUMBER = DISPLAY_SIZE_VERTICAL/TILE_DIVIDER +HORIZONTAL_TILES_NUMBER = DISPLAY_SIZE_HORIZONTAL/TILE_SIZE +VERTICAL_TILES_NUMBER = DISPLAY_SIZE_VERTICAL/TILE_SIZE #TILE_SIZE -TILE_SIZE = DISPLAY_SIZE_HORIZONTAL/HORIZONTAL_TILES_NUMBER #colors WHITE = (255, 255, 255) #SUPER UPRAWA @@ -35,3 +34,28 @@ FPS = 144 + + + + + + + + + + + + + + + + + + + + + + + + +