added a brain, need to listen to it

This commit is contained in:
2019-10-21 15:19:50 +02:00
parent 06c54f50fa
commit c31a338957
7 changed files with 253 additions and 162 deletions

11
params.py Normal file
View File

@@ -0,0 +1,11 @@
from pygame.locals import HWSURFACE, DOUBLEBUF
FLAGS = HWSURFACE | DOUBLEBUF #| FULLSCREEN
GX = 1000
GY = 1000
CELL_COLOR = (80,80,80)
CAR_SIZE=25
VISION_LENGTH = 50
VISION_SPAN = 25 # degrees
THROTTLE_POWER = 3