def no_keys(): if random.randrange(0, 3) == 1: PressKey(W) else: ReleaseKey(W) ReleaseKey(A) ReleaseKey(S) ReleaseKey(D)
def reverse_right(): PressKey(S) PressKey(D) ReleaseKey(W) ReleaseKey(A)
def forward_right(): PressKey(W) PressKey(D) ReleaseKey(A) ReleaseKey(S)
def reverse_left(): PressKey(S) PressKey(A) ReleaseKey(W) ReleaseKey(D)
def forward_left(): PressKey(W) PressKey(A) ReleaseKey(D) ReleaseKey(S)
def reverse(): PressKey(S) ReleaseKey(A) ReleaseKey(W) ReleaseKey(D)
def right(): ReleaseKey(W) PressKey(D) ReleaseKey(A) ReleaseKey(S)
def left(): ReleaseKey(W) PressKey(A) ReleaseKey(S) ReleaseKey(D)
def straight(): PressKey(W) ReleaseKey(A) ReleaseKey(S) ReleaseKey(D)