Example #1
0
    south(120)
    east(120)
    south(120)
    west(120)
    south(120)
    turtle.end_fill()
    turtle.end_poly()

    return turtle.get_poly()



redcross = drawredcross(north, south, east, west)

wn.penup()
wn.goto(0,300)

notsafe(turtle)

wn.onkey(hitnorth, "Up")
wn.onkey(hitsouth, "Down")
wn.onkey(hiteast, "Right")
wn.onkey(hitwest, "Left")
wn.listen()



wn.exitonclick()
wn.mainloop()