Today, lets make a video game! I think its pretty sweet, although of course its not too fancy.

Here is a good start if you are having troubles keeping up.
import os
import random
 
 
LENGTH = 10
END = LENGTH - 1
BOARDER = "-" * LENGTH
PLAYER_STANDING = "O"
PLAYER_DUCKING = "o"
PLAYER_HIT = "X"
PLAYER_DODGING = "^"
ARROW = "<"
EMPTY = " "
 
PLAYER_INDEX = 0
ARROWS = []
LEFT = "l"
RIGHT = "r"
DUCK = "d"
STAND = "s"
is_standing = True
is_hit = False
 
 
def draw_board():
    global is_hit
    os.system("cls")
    print(BOARDER)
    path = ""
    index = 0
 
    while index < LENGTH:
        if PLAYER_INDEX == index:
            if is_standing:
                path += PLAYER_STANDING
            else:
                path += PLAYER_DUCKING
        elif index in ARROWS:
            path += ARROW
        else:
            path += EMPTY
 
        index += 1
 
    print(path)
    print(BOARDER)
 
 
while PLAYER_INDEX != END:
    draw_board()
 
    player_move = input("(l)eft,(r)ight,(d)uck,(s)tand?: ")
 
    if is_standing:
        if player_move == RIGHT:
            PLAYER_INDEX += 1
        elif player_move == LEFT:
            if PLAYER_INDEX > 0:
                PLAYER_INDEX -= 1
        elif player_move == DUCK:
            is_standing = False
    else:
        if player_move == STAND:
            is_standing = True
 
draw_board()
 
if is_hit:
    print("Oh no..!")
else:
    print("YOU WON!")



asdf