Re: text adventure game problem

2008-04-16 Thread Neil Cerutti
On Tue, Apr 15, 2008 at 9:25 AM, Carl Banks <[EMAIL PROTECTED]> wrote: > On Apr 11, 12:08 pm, "Neil Cerutti" <[EMAIL PROTECTED]> wrote: > > > such as so > > > they're not stuck with a quasi hack of a language if they have to do > > > something that doesn't fit the framework anticipated by the

Re: text adventure game problem

2008-04-15 Thread Carl Banks
On Apr 11, 12:08 pm, "Neil Cerutti" <[EMAIL PROTECTED]> wrote: > On Thu, Apr 10, 2008 at 8:25 PM, Carl Banks <[EMAIL PROTECTED]> wrote: > > On Apr 10, 2:20 pm, Tommy Nordgren <[EMAIL PROTECTED]> wrote: > > > > On 9 apr 2008, at 03.01, [EMAIL PROTECTED] wrote: > > > > > okay, I'm having this one pr

Re: text adventure game problem

2008-04-14 Thread Sean DiZazzo
On Apr 8, 6:01 pm, [EMAIL PROTECTED] wrote: > okay, I'm having this one problem with a text adventure game. It's > kind of hard to explain, but I'll do my best. > [code] > > def prompt_kitchen(): >     global gold >     gold_taken = False >     while True: >         prompt_kit = raw_input('>') >  

Re: text adventure game problem

2008-04-14 Thread Gabriel Genellina
En Fri, 11 Apr 2008 11:21:17 -0300, <[EMAIL PROTECTED]> escribió: > On Apr 11, 10:16 am, [EMAIL PROTECTED] wrote: >> On Apr 11, 1:40 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: >> >> > On Thu, 10 Apr 2008 05:06:42 -0700 (PDT), [EMAIL PROTECTED] >> > declaimed the following in comp.lang.python:

Re: text adventure game problem

2008-04-11 Thread Neil Cerutti
On Thu, Apr 10, 2008 at 8:25 PM, Carl Banks <[EMAIL PROTECTED]> wrote: > On Apr 10, 2:20 pm, Tommy Nordgren <[EMAIL PROTECTED]> wrote: > > > On 9 apr 2008, at 03.01, [EMAIL PROTECTED] wrote: > > > > > okay, I'm having this one problem with a text adventure game. It's > > > kind of hard to explai

Re: text adventure game problem

2008-04-11 Thread corvettecraz92
On Apr 11, 10:16 am, [EMAIL PROTECTED] wrote: > On Apr 11, 1:40 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > > > On Thu, 10 Apr 2008 05:06:42 -0700 (PDT), [EMAIL PROTECTED] > > declaimed the following in comp.lang.python: > > > > okay, that explains it... > > > could you provide a working exa

Re: text adventure game problem

2008-04-11 Thread corvettecraz92
On Apr 11, 1:40 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Thu, 10 Apr 2008 05:06:42 -0700 (PDT), [EMAIL PROTECTED] > declaimed the following in comp.lang.python: > > > okay, that explains it... > > could you provide a working example of a two-room game using your > > method please so I

Re: text adventure game problem

2008-04-10 Thread Carl Banks
On Apr 10, 2:20 pm, Tommy Nordgren <[EMAIL PROTECTED]> wrote: > On 9 apr 2008, at 03.01, [EMAIL PROTECTED] wrote: > > > okay, I'm having this one problem with a text adventure game. It's > > kind of hard to explain, but I'll do my best. > > [code] > > > def prompt_kitchen(): > >global gold > >

Re: text adventure game problem

2008-04-10 Thread Tommy Nordgren
On 9 apr 2008, at 03.01, [EMAIL PROTECTED] wrote: > okay, I'm having this one problem with a text adventure game. It's > kind of hard to explain, but I'll do my best. > [code] > > def prompt_kitchen(): >global gold Python is not a suitable language for Text Adventure Development. You

Re: text adventure game problem

2008-04-10 Thread corvettecraz92
On Apr 10, 3:14 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Wed, 9 Apr 2008 05:25:19 -0700 (PDT), [EMAIL PROTECTED] > declaimed the following in comp.lang.python: > > > > > I can't even compile your code to see how it works, Dennis. I'm > > confused about what that does. > >         My ap

Re: text adventure game problem

2008-04-09 Thread corvettecraz92
On Apr 9, 1:24 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Tue, 8 Apr 2008 18:01:01 -0700 (PDT), [EMAIL PROTECTED] > declaimed the following in comp.lang.python: > > > okay, I'm having this one problem with a text adventure game. It's > > kind of hard to explain, but I'll do my best. > >

Re: text adventure game problem

2008-04-08 Thread Carl Banks
On Apr 9, 1:24 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Tue, 8 Apr 2008 18:01:01 -0700 (PDT), [EMAIL PROTECTED] > declaimed the following in comp.lang.python: > > > okay, I'm having this one problem with a text adventure game. It's > > kind of hard to explain, but I'll do my best. > >

Re: text adventure game problem

2008-04-08 Thread Terry Reedy
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | In the above function, there's the option to examine a cabinet and get | 8 gold. (everyone here knows that...but I'm just trying to state my | problem...) | Unfortunately, it kind of doesn't work. | After the first time I 'examine cabi

Re: text adventure game problem

2008-04-08 Thread corvettecraz92
On Apr 8, 9:55 pm, André <[EMAIL PROTECTED]> wrote: > On Apr 8, 10:44 pm, [EMAIL PROTECTED] wrote: > > > > > On Apr 8, 9:25 pm, André <[EMAIL PROTECTED]> wrote: > > > > On Apr 8, 10:01 pm, [EMAIL PROTECTED] wrote: > > > > > okay, I'm having this one problem with a text adventure game. It's > > > >

Re: text adventure game problem

2008-04-08 Thread André
On Apr 8, 10:44 pm, [EMAIL PROTECTED] wrote: > On Apr 8, 9:25 pm, André <[EMAIL PROTECTED]> wrote: > > > > > On Apr 8, 10:01 pm, [EMAIL PROTECTED] wrote: > > > > okay, I'm having this one problem with a text adventure game. It's > > > kind of hard to explain, but I'll do my best. > > > [code] > > >

Re: text adventure game problem

2008-04-08 Thread corvettecraz92
On Apr 8, 9:25 pm, André <[EMAIL PROTECTED]> wrote: > On Apr 8, 10:01 pm, [EMAIL PROTECTED] wrote: > > > > > okay, I'm having this one problem with a text adventure game. It's > > kind of hard to explain, but I'll do my best. > > [code] > > > def prompt_kitchen(): > >     global gold > >     gold_t

Re: text adventure game problem

2008-04-08 Thread André
On Apr 8, 10:25 pm, André <[EMAIL PROTECTED]> wrote: > On Apr 8, 10:01 pm, [EMAIL PROTECTED] wrote: > > > > > okay, I'm having this one problem with a text adventure game. It's > > kind of hard to explain, but I'll do my best. > > [code] > > > def prompt_kitchen(): > >     global gold > >     gold_

Re: text adventure game problem

2008-04-08 Thread André
On Apr 8, 10:01 pm, [EMAIL PROTECTED] wrote: > okay, I'm having this one problem with a text adventure game. It's > kind of hard to explain, but I'll do my best. > [code] > > def prompt_kitchen(): >     global gold >     gold_taken = False >     while True: >         prompt_kit = raw_input('>') >  

Re: text adventure game problem

2008-04-08 Thread Dan Bishop
On Apr 8, 8:01 pm, [EMAIL PROTECTED] wrote: > okay, I'm having this one problem with a text adventure game. It's > kind of hard to explain, but I'll do my best. > [code] > > def prompt_kitchen(): > global gold > gold_taken = False > while True: > prompt_kit = raw_input('>') >

text adventure game problem

2008-04-08 Thread corvettecraz92
okay, I'm having this one problem with a text adventure game. It's kind of hard to explain, but I'll do my best. [code] def prompt_kitchen(): global gold gold_taken = False while True: prompt_kit = raw_input('>') if prompt_kit == 'examine cabinet 1' and not gold_taken: