Re: Old Paranoia Game in Python

2005-01-11 Thread Paul McGuire
McBooCzech [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Newbie in Python. I did copy the whole script form the web and save it as para1.py. I did download pyparsing module and save it to C:\\Python23\\Lib\\pyparsing122. I did run following script: import sys

Re: Old Paranoia Game in Python

2005-01-10 Thread McBooCzech
Newbie in Python. I did copy the whole script form the web and save it as para1.py. I did download pyparsing module and save it to C:\\Python23\\Lib\\pyparsing122. I did run following script: import sys sys.path.append('C:\\Python23\\Lib\\pyparsing122') from pyparsing import * extraLineBreak =

Re: Old Paranoia Game in Python

2005-01-10 Thread SPK
You can download the code from the web directly now at: http://homepage.mac.com/spkane/python/ Thanks for all the code suggestions. This is what I was hoping for, but was honestly suprised to actually get it all, although I did get at least one emotional blast, so I don't feel like Usenet has

Old Paranoia Game in Python

2005-01-10 Thread Sean P.Kane
I ported the old (and long since removed) game from the bsd-game pacakge called, Paranoia, based on the old Paranoia role playing game from C to Python as a simple exercise in learning the language and pure late night boredom. Anyways, here it is for anyone looking for a few minutes of

Re: Old Paranoia Game in Python

2005-01-10 Thread Lucas Raab
[EMAIL PROTECTED] wrote: Aahz wrote: Trust the computer, the computer is your friend. However, the computer isn't a fuckin' mind reader. If you're going to post source code on the usenet, don't have lines longer than 72 characters. Otherwise you'll find your code has wrapped lines. This not only

Re: Old Paranoia Game in Python

2005-01-10 Thread [EMAIL PROTECTED]
Lucas Raab wrote: [EMAIL PROTECTED] wrote: Aahz wrote: Trust the computer, the computer is your friend. However, the computer isn't a fuckin' mind reader. If you're going to post source code on the usenet, don't have lines longer than 72 characters. Otherwise you'll find your

[OT] Re: Old Paranoia Game in Python

2005-01-10 Thread Steven Bethard
Terry Reedy wrote: Never saw this specific game. Some suggestions on additional factoring out of duplicate code. def next_page(this_page): print \n if this_page == 0: page = 0 return The following elif switch can be replaced by calling a selection from a list of functions: [None,

Re: Old Paranoia Game in Python

2005-01-09 Thread Paul Rubin
Oh cool, I sort of remember that game from back in the day. I didn't play it very much so never got very far in it. I'll have to try your version. -- http://mail.python.org/mailman/listinfo/python-list

Re: Old Paranoia Game in Python

2005-01-09 Thread Lucas Raab
Aahz wrote: In article [EMAIL PROTECTED], Lucas Raab [EMAIL PROTECTED] wrote: Sean P. Kane wrote: I ported the old (and long since removed) game from the bsd-game pacakge called, Paranoia, based on the old Paranoia role playing game from C to Python as a simple exercise in learning the language

Re: Old Paranoia Game in Python

2005-01-09 Thread [EMAIL PROTECTED]
Aahz wrote: Trust the computer, the computer is your friend. However, the computer isn't a fuckin' mind reader. If you're going to post source code on the usenet, don't have lines longer than 72 characters. Otherwise you'll find your code has wrapped lines. This not only causes syntax errors

Re: Old Paranoia Game in Python

2005-01-09 Thread Paul McGuire
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Aahz wrote: Trust the computer, the computer is your friend. However, the computer isn't a fuckin' mind reader. If you're going to post source code on the usenet, don't have lines longer than 72 characters. Otherwise you'll find

Re: Old Paranoia Game in Python

2005-01-09 Thread [EMAIL PROTECTED]
Paul McGuire wrote: [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Aahz wrote: Trust the computer, the computer is your friend. However, the computer isn't a fuckin' mind reader. If you're going to post source code on the usenet, don't have lines longer than 72