Re: basic maze problem with turtle

2013-10-14 Thread Joshua Landau
On 13 October 2013 23:18, 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

Re: basic maze problem with turtle

2013-10-14 Thread Tobiah
On 10/13/2013 04:44 PM, Gary Herron wrote: On 10/13/2013 03:03 PM, Denis McMahon wrote: Except perhaps Nikos. Nikos can probably write you extremely elegant one line python solutions to any coding problem you describe to him. His solutions might suffer the very minor flaw of not working, but the

Re: basic maze problem with turtle

2013-10-14 Thread Antoon Pardon
Op 14-10-13 15:02, Sam Fourman Jr. schreef: > > Who the hell is Nikos? I hear reference to this guy ALL the time, is he > a troll or a python god? > this simply isn't clear.. I have only been on this list a few months. He is the lists help vampire. He comes to the list when his programs break and

Re: basic maze problem with turtle

2013-10-14 Thread Chris Angelico
On Tue, Oct 15, 2013 at 12:02 AM, Sam Fourman Jr. wrote: > Who the hell is Nikos? I hear reference to this guy ALL the time, is he a > troll or a python god? > this simply isn't clear.. I have only been on this list a few months. He's a troll, sometimes goes by the name "Ferrous Cranus", and he r

Re: basic maze problem with turtle

2013-10-14 Thread Alister
On Mon, 14 Oct 2013 13:13:15 +, Neil Cerutti wrote: > On 2013-10-14, Sam Fourman Jr. wrote: >> Who the hell is Nikos? I hear reference to this guy ALL the time, is he >> a troll or a python god? this simply isn't clear.. >> I have only been on this list a few months. > > Check the archives f

Re: basic maze problem with turtle

2013-10-14 Thread Neil Cerutti
On 2013-10-14, Sam Fourman Jr. wrote: > Who the hell is Nikos? I hear reference to this guy ALL the > time, is he a troll or a python god? this simply isn't clear.. > I have only been on this list a few months. Check the archives for the last couple of months, and make your own judgment. https:/

Re: basic maze problem with turtle

2013-10-14 Thread Sam Fourman Jr.
On Sun, Oct 13, 2013 at 11:44 PM, Gary Herron < gary.her...@islandtraining.com> wrote: > On 10/13/2013 03:03 PM, Denis McMahon wrote: > >> Except perhaps Nikos. Nikos can probably write you extremely elegant one >> line python solutions to any coding problem you describe to him. His >> solutions m

Re: basic maze problem with turtle

2013-10-14 Thread Denis McMahon
On Sun, 13 Oct 2013 23:54:34 +, Steven D'Aprano wrote: (and Gary Herron wrote similar) > Was that really necessary? Am I still pissed at being told my solution was crap because it had too many lines? -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/p

Re: basic maze problem with turtle

2013-10-14 Thread Alister
On Sun, 13 Oct 2013 14:53:36 -0700, baujacob wrote: > Hi everyone, I'm trying to create a simple maze program. When the user > finishes the maze, I want to print in big letters "You Win!" and when > the user hits a wall, I want the user to go back to the beginning of the > maze. The problem is "co

Re: basic maze problem with turtle

2013-10-14 Thread Antoon Pardon
Op 14-10-13 00:03, Denis McMahon schreef: > Except perhaps Nikos. Nikos can probably write you extremely elegant one > line python solutions to any coding problem you describe to him. His > solutions might suffer the very minor flaw of not working, but they're > guaranteed to be Nikos certified

Re: basic maze problem with turtle

2013-10-13 Thread Steven D'Aprano
On Sun, 13 Oct 2013 22:03:04 +, Denis McMahon wrote: > On Sun, 13 Oct 2013 14:53:36 -0700, baujacob wrote: > >> Is there anyway I can force the user back to the starting point when >> the turtle hits the wall? [skip useful advise to a beginner] > Except perhaps [skip completely uncalled for

Re: basic maze problem with turtle

2013-10-13 Thread Gary Herron
On 10/13/2013 03:03 PM, Denis McMahon wrote: Except perhaps Nikos. Nikos can probably write you extremely elegant one line python solutions to any coding problem you describe to him. His solutions might suffer the very minor flaw of not working, but they're guaranteed to be Nikos certified aesthe

Re: basic maze problem with turtle

2013-10-13 Thread baujacob
On Sunday, October 13, 2013 2:52:50 PM UTC-7, bauj...@gmail.com wrote: > Hi everyone, I'm trying to create a simple maze program. When the user > finishes the maze, I want to print in big letters "You Win!" and when the > user hits a wall, I want the user to go back to the beginning of the maze.

Re: basic maze problem with turtle

2013-10-13 Thread Denis McMahon
On Sun, 13 Oct 2013 14:53:36 -0700, baujacob wrote: > Is there anyway I can force the user back to the starting point > when the turtle hits the wall? Yes, however, do not expect us to code it for you. Rather, discuss your method, and how you think it should be coded, or even better your soluti