Re: [Tutor] A Text Adventure Problem

2013-03-24 Thread bob gailer
On 3/24/2013 5:09 PM, John Bochicchio wrote: 1. I'm using the terminal to run the code. Using the command - (cd python && python2 game1.py) 2. Using python 2.6 I believe. 3. I'm running Arch Linux at the moment. 4. I'm new to python, but I assume the error must have something to do with not hav

Re: [Tutor] A Text Adventure Problem

2013-03-24 Thread bob gailer
On 3/24/2013 3:41 PM, John Bochicchio wrote: I've been trying to write a simple test text adventure [snip] Good first try! As you learn OOP and use of classes you will discover ways to improve and simplify coding. Here's an example. It is far from perfect, but definitely worth a study. It w

Re: [Tutor] A Text Adventure Problem

2013-03-24 Thread Alan Gauld
On 24/03/13 21:09, John Bochicchio wrote: 4. I'm new to python, but I assume the error must have something to do with not having a way for the program to move to the next area of the code. Bob already gave you the clue. Look atyou code for window. What does it return? -- Alan G Author of th

Re: [Tutor] A Text Adventure Problem

2013-03-24 Thread John Bochicchio
1. I'm using the terminal to run the code. Using the command - (cd python && python2 game1.py) 2. Using python 2.6 I believe. 3. I'm running Arch Linux at the moment. 4. I'm new to python, but I assume the error must have something to do with not having a way for the program to move to the next are

Re: [Tutor] A Text Adventure Problem

2013-03-24 Thread bob gailer
On 3/24/2013 3:41 PM, John Bochicchio wrote: I've been trying to write a simple test text adventure, but have been running into serious problems. Here is the error I get when I run it. It will give me the opening text and lets me make my first choice. What did you enter? I will bet is was 'wind

[Tutor] A Text Adventure Problem

2013-03-24 Thread John Bochicchio
I've been trying to write a simple test text adventure, but have been running into serious problems. Here is the error I get when I run it. It will give me the opening text and lets me make my first choice. Then I get this. error "Traceback: (Most recent call last) file "game1.py", line 104, in R