def rechts(): if random.randrange(0, 3) == 1: PressKey(W) else: ReleaseKey(W) PressKey(D) ReleaseKey(A) ReleaseKey(S)
def nichts(): if random.randrange(0, 4) == 1: PressKey(W) else: ReleaseKey(W) ReleaseKey(A) ReleaseKey(D) ReleaseKey(S)
def zurücksetzen_rechts(): PressKey(S) PressKey(D) ReleaseKey(W) ReleaseKey(A)
def zurücksetzen_links(): PressKey(S) PressKey(A) ReleaseKey(W) ReleaseKey(D)
def geradeaus_rechts(): PressKey(W) PressKey(D) ReleaseKey(A) ReleaseKey(S)
def geradeaus_links(): PressKey(W) PressKey(A) ReleaseKey(D) ReleaseKey(S)
def zurücksetzen(): PressKey(S) ReleaseKey(W) ReleaseKey(A) ReleaseKey(D)
def geradeaus(): PressKey(W) ReleaseKey(A) ReleaseKey(D) ReleaseKey(S)
def rechts(): PressKey(D) PressKey(W) ReleaseKey(A)
def links(): PressKey(A) PressKey(W) ReleaseKey(D)
def rechts(): PressKey(W) PressKey(D) ReleaseKey(A) time.sleep(t_time) ReleaseKey(D)
def links(): PressKey(W) PressKey(A) ReleaseKey(D) time.sleep(t_time) ReleaseKey(A)