Files
racing_pyai/params.py
2019-10-22 11:13:31 +02:00

17 lines
317 B
Python

import pygame
from pygame.locals import HWSURFACE, DOUBLEBUF
FLAGS = HWSURFACE | DOUBLEBUF #| FULLSCREEN
GX = 1000
GY = 1000
CELL_COLOR = (80,80,80)
CAR_SIZE=20
VISION_LENGTH = 50
VISION_SPAN = 25 # degrees
THROTTLE_POWER = 3
pygame.init()
screen = pygame.display.set_mode((GX, GY), FLAGS)
screen.set_alpha(None)