# Main settings WIDTH = 20 HEIGHT = 20 FPS = 5 # Buttons QUIT_BUTTON = 'q' PAUSE_BUTTON = 'p' LEFT_BUTTON = 'a' RIGHT_BUTTON = 'd' UP_BUTTON = 'w' DOWN_BUTTON = 's' # Player settings D_LEFT = "LEFT" D_RIGHT = "RIGHT" D_UP = "UP" D_DOWN = "DOWN" MAIN_DIRECTION = D_DOWN MAIN_X = 0 MAIN_Y = 0 # Out types SPACE = 0 WALL = 1 FOOD = 2 WALL_FOOD = 3