How do I keep the following constant and true? (In other words globals?)
UP :: Direction
DOWN :: Direction
LEFT :: Direction
RIGHT :: Direction
dirs = [UP, DOWN, LEFT, RIGHT]
My attempt:
#global definitions
UP = True
DOWN = True
LEFT = True
RIGHT = True
dirs = [UP, DOWN, LEFT, RIGHT]