Re: [Audyssey] Python and Interactive Fiction

2012-02-19 Thread Jim Kitchen
Hi Thomas, Oh, ok, data base files. I always knew them as external supporting files. But data files sounds better than script files. As a matter of fact older Basic languages had a data statement. That is a line might look like 2012 data 5, 17, 22, 34, 99 Since VB6 doesn't support a data

Re: [Audyssey] Python and Interactive Fiction

2012-02-19 Thread Jim Kitchen
Hi Willem, Thank you very much. I am happy to hear that you like having my games in your game collection. I think that my code does have a style. Just not one that would make others happy. Thanks again. BFN Jim IF code_works THEN don't_fix_it END IF j...@kitchensinc.net http://www.

Re: [Audyssey] Python and Interactive Fiction

2012-02-18 Thread Jacob Kruger
Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Thomas Ward" To: "Gamers Discussion list" Sent: Saturday, February 18, 2012 7:53 PM Subject: Re: [Audyssey] Python and Interactive Fiction Hi Jacob

Re: [Audyssey] Python and Interactive Fiction

2012-02-18 Thread Thomas Ward
Hi Jacob, Oh, yeah. So do I. Not only was it the way I was taught to program those conventions you mention at least have use to me on a day to day basis. Declaring an integer variable as iSumNumber or a string as sMyString helps me keep the variables and data types straight. Especially, in Python

Re: [Audyssey] Python and Interactive Fiction

2012-02-18 Thread Thomas Ward
Hi Jim, Well, all I can say to that is you probably don't have to worry about someone cracking it if they can't read it. Grin. The funny thing about .NET obfuscation and Java obfuscation tools is they do exactly what you described. They take variable names like player_description and shorten them

Re: [Audyssey] Python and Interactive Fiction

2012-02-18 Thread Thomas Ward
Hi Dark, I suppose. The main point of my post was simply to illistrate how a sighted person might view formatted text be it code or a written document vs a blind person views that same printed text. For example, if I get a book from the library, throw it on the scanner, usually I don't care if th

Re: [Audyssey] Python and Interactive Fiction

2012-02-17 Thread dark
" Sent: Saturday, February 18, 2012 6:06 AM Subject: Re: [Audyssey] Python and Interactive Fiction Hi Dark, Sure. Although, keep in mind we are also looking at this from a purely blind-centric mindset. I agree that usually it isn't necessary for someone writing a program for themselves

Re: [Audyssey] Python and Interactive Fiction

2012-02-17 Thread Thomas Ward
Hi Dark, Sure. Although, keep in mind we are also looking at this from a purely blind-centric mindset. I agree that usually it isn't necessary for someone writing a program for themselves, code they have no intention of sharing, to just forget about professional standards in formatting whatever. I

Re: [Audyssey] Python and Interactive Fiction

2012-02-17 Thread Thomas Ward
Hi Dark, Technically speaking the text files in Jim Kitchens games are what programmers refere to as a flat database. That's a fancey name for a text file with some data that gets read into a program or engine. They are not scripts because they don't require any programming. Names for squares on a

Re: [Audyssey] Python and Interactive Fiction

2012-02-17 Thread dark
Hi Tom. That might be business practice but to be honest it strikes me rather as overkill most of the time. For instance, I certainly don't bother adding indenting or other formatting to my thesis and probably won't until it comes time to prepare it for printing and formal submition, despite

Re: [Audyssey] Python and Interactive Fiction

2012-02-17 Thread Thomas Ward
n there is a good reason to :D. > > Beware the grue! > Dark. > > - Original Message - > From: "Jim Kitchen" > To: "Thomas Ward" > Sent: Friday, February 17, 2012 10:58 AM > Subject: Re: [Audyssey] Python and Interactive Fiction > > >>

Re: [Audyssey] Python and Interactive Fiction

2012-02-17 Thread Thomas Ward
Hi Dark, Yes and no. Its true scripts are use to extend the basic functionality of a program, but some scripting languages are full blown programming languages on their own. There are what we call embedded scripting languages, and there are runtime scripting languages. If that's confusing let me e

Re: [Audyssey] Python and Interactive Fiction

2012-02-17 Thread Thomas Ward
Hi Dark, Yeah, I see your point, but the standards are there for good reason. For Instance, when I start a paragraph in html I indent the line two tabs use and then write my paragraph on the same line. Then, I close it with the tag. That's pretty common and the way I was trained to do it in co

Re: [Audyssey] Python and Interactive Fiction

2012-02-17 Thread dark
Hi Jim. I might be utterly wrong, but as I understand it a "script file" simply means a file that a user can write to get an existing program to do stuff. It's not programming, sinse what you write are basically instructions for the host program to follow, but it's a way for someone to get the

Re: [Audyssey] Python and Interactive Fiction

2012-02-17 Thread Jim Kitchen
ously you do do user friendly extremely when there is a good reason to :D. Beware the grue! Dark. - Original Message - From: "Jim Kitchen" To: "Thomas Ward" Sent: Friday, February 17, 2012 10:58 AM Subject: Re: [Audyssey] Python and Interactive Fiction Hi

Re: [Audyssey] Python and Interactive Fiction

2012-02-17 Thread Willem Venter
Hi Jim. I agree with you about coding the way you feel most comfortable with first and worrying about style afterward. I've personally found that adding some descriptive names make it easier to find bugs, but I am bad at describing something in a word or two. I do not want to imagine my game

Re: [Audyssey] Python and Interactive Fiction

2012-02-17 Thread dark
ld've been far more difficult than it actually is, so obviously you do do user friendly extremely when there is a good reason to :D. Beware the grue! Dark. - Original Message - From: "Jim Kitchen" To: "Thomas Ward" Sent: Friday, February 17, 2012 10:58 AM Subj

Re: [Audyssey] Python and Interactive Fiction

2012-02-17 Thread Jim Kitchen
Hi Thomas, Yep, well, there is no Jim Kitchen the third, so I don't plan on some one taking over the Kitchensinc games. I know that partially because of starting out only being able to use two letters for variable names and because space was limited, I have always been conscious of size of co

Re: [Audyssey] Python and Interactive Fiction

2012-02-16 Thread Jacob Kruger
y, February 16, 2012 9:53 PM Subject: Re: [Audyssey] Python and Interactive Fiction Hi Jim, Well, the hole issue of programming standards and formatting in particular has to deal with a business model approach to programming. That is if you develop software for a company you and your coworkers

Re: [Audyssey] Python and Interactive Fiction

2012-02-16 Thread dark
Hi Tom. This all makes sense, but at least in structural terms, I have noticed there are things which can be done to make code make a bit more sense to both the writer and the reader, business models and standard aside. For example, though it is not programming code, one thing I always do whe

Re: [Audyssey] Python and Interactive Fiction

2012-02-16 Thread Thomas Ward
Hi Jim, Well, the hole issue of programming standards and formatting in particular has to deal with a business model approach to programming. That is if you develop software for a company you and your coworkers can all develop software in the same way, use the same standards, and it makes it easie

Re: [Audyssey] Python and Interactive Fiction

2012-02-16 Thread Jim Kitchen
Hi Trouble, Yeah, I was told a long time ago that the only reason they want business standard code is so that you can be replaced. Personally I can go back to code I wrote decades ago and still know exactly what I was doing. But I do know that my code is not for others. I mean the first com

Re: [Audyssey] Python and Interactive Fiction

2012-02-15 Thread Jacob Kruger
Stay well Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Willem Venter" To: "Gamers Discussion list" Sent: Wednesday, February 15, 2012 11:38 PM Subject: Re: [Audyssey] Python and Int

Re: [Audyssey] Python and Interactive Fiction

2012-02-15 Thread Thomas Ward
Hi Ryan, Yeah, I know. I was taught to format my source code along with my fellow programming students back in my college days, but the point of all that formatting is so someone sighted can read it. Which is why I said it was unfortunate. It comes down to an issue of intent and who the code is wr

Re: [Audyssey] Python and Interactive Fiction

2012-02-15 Thread Thomas Ward
Hi Cara, Well, I don't know about XCode, since I don't use it, but there are plenty of free editors around that have automatic indention features. You might want to check the Mac apps and see if there is a Python editor around that does automatic indention. On 2/15/12, Cara Quinn wrote: > Agreed

Re: [Audyssey] Python and Interactive Fiction

2012-02-15 Thread Thomas Ward
Hi Dark, Yeah, its quite doable. A lot of screen readers have the option to announce the formatting of a document and speak the number of tabs proceeding a line of text. Its just that it is usually disable by default, and has to be turned on in the screen reader to use it. Once you turn it on writ

Re: [Audyssey] Python and Interactive Fiction

2012-02-15 Thread Willem Venter
to them if they can actually read the stuff. -Original Message- From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On Behalf Of Thomas Ward Sent: Tuesday, February 14, 2012 9:27 PM To: Gamers Discussion list Subject: Re: [Audyssey] Python and Interactive Fi

Re: [Audyssey] Python and Interactive Fiction

2012-02-15 Thread Cara Quinn
boun...@audyssey.org] On Behalf Of Thomas Ward Sent: Tuesday, February 14, 2012 9:27 PM To: Gamers Discussion list Subject: Re: [Audyssey] Python and Interactive Fiction Hi Dave, Yes, unfortunately, Python still requires that you use proper indention rules when writing software. That's pre

Re: [Audyssey] Python and Interactive Fiction

2012-02-15 Thread Trouble
udyssey.org] On Behalf Of Thomas Ward Sent: Tuesday, February 14, 2012 9:27 PM To: Gamers Discussion list Subject: Re: [Audyssey] Python and Interactive Fiction Hi Dave, Yes, unfortunately, Python still requires that you use proper indention rules when writing software. That's pretty much how

Re: [Audyssey] Python and Interactive Fiction

2012-02-14 Thread Willem Venter
lto:gamers-boun...@audyssey.org] On Behalf Of Thomas Ward Sent: Tuesday, February 14, 2012 9:27 PM To: Gamers Discussion list Subject: Re: [Audyssey] Python and Interactive Fiction Hi Dave, Yes, unfortunately, Python still requires that you use proper indention rules when writing software. That

Re: [Audyssey] Python and Interactive Fiction

2012-02-14 Thread Ryan Strunk
y.org [mailto:gamers-boun...@audyssey.org] On Behalf Of Thomas Ward Sent: Tuesday, February 14, 2012 9:27 PM To: Gamers Discussion list Subject: Re: [Audyssey] Python and Interactive Fiction Hi Dave, Yes, unfortunately, Python still requires that you use proper indention rules when writing sof

Re: [Audyssey] Python and Interactive Fiction

2012-02-14 Thread dark
Hi tom. hal will read number of tabs at the start of lines too, though i will confess it's a feature I've never bothered to use, and the way I have the verbosity of Hal setup to read what I've written tabs are not read by default unless I specifically use the read line key, though this could b

Re: [Audyssey] Python and Interactive Fiction

2012-02-14 Thread Thomas Ward
Hi Dave, Yes, unfortunately, Python still requires that you use proper indention rules when writing software. That's pretty much how it gets away without using braces, brackets, and all the other trappings of C/C++ by defining blocks of code based on indention and proper spacing. That said, once y

Re: [Audyssey] Python and Interactive Fiction

2012-02-14 Thread David Mehler
Hi, Not sure if this question is straying, but here goes, python the thing I didn't like about it is keeping all the tabs straight? I'm not sure if that's still relevant, but it was an impediment to me when I tried it. Dave On 2/14/12, Thomas Ward wrote: > Python and Interactive Fiction Games >

[Audyssey] Python and Interactive Fiction

2012-02-14 Thread Thomas Ward
Python and Interactive Fiction Games by Thomas Ward Feb. 14, 2012 For about a year I have been searching for the best language to develop classic interactive text adventures like Zork, Arthur, Hitch Hikers to the Galaxy, and various other famous games that have been developed by interactive fict