On 13 October 2013 23:18, <bauja...@gmail.com> wrote: > import turtle > userTurtle = turtle.Turtle() > draw = turtle.Turtle() > scr = turtle.Screen() > > def drawMaze(): > draw.pencolor("gold") [lots of lines] > print(userTurtle.pos()) > > scr.onkeypress(m1, "Up") > scr.onkeypress(m2, "Left") > scr.onkeypress(m3, "Right") > scr.onkeypress(m4, "Down") > > scr.listen() > > drawMaze() > mazeGame()
You might realise that you don't actually have a "maze" in the sense that you need something a *computer* can understand. You need some data structure to hold the maze which you have drawn. -- https://mail.python.org/mailman/listinfo/python-list