RAHH

mail@pastecode.io avatar
unknown
plain_text
a month ago
567 B
0
Indexable
Never
#This list will hold all the new directional values for the redraw
direction_list= []

#This function will append move up
def move_up(): 
    seth(90)
    forward(10)
    direction_list.append("up")

#This function will append move down    
def move_down(): 
    seth(270)
    forward(10)
    direcrion_list.append("down")

#This function will append move left    
def move_left(): 
    seth(180)
    forward(10)
    direction_list.append("left")

#This function will append move right
def move_right(): 
    seth(0)
    forward(10)
    direction_list.append("right")
Leave a Comment