RAHH
unknown
plain_text
a year ago
567 B
5
Indexable
#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")Editor is loading...
Leave a Comment