you said a text adventure. when you say "text" adventeure, I start thinking of muds, and... I don't remember the other one, frotz or something.
Thanks, Tyler Littlefield. Vertigo head coder "My programs don't have bugs, just randomly added features." msn: compgeek134@xxxxxxxxxxx email: compgeek13@xxxxxxxxx aim: st8amnd2005 skype: st8amnd127----- Original Message ----- From: "alex" <laptop456@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Monday, September 17, 2007 6:45 AMSubject: Re: Text Adventure Resources, PHP4 Criticism (Was: Is there a program that will let me create text adventures?)
Well check out www.hogwartslive.com all those rpgs and stuff are based off of php so...----- Original Message ----- From: "Veli-Pekka Tätilä" <vtatila@xxxxxxxxxxxxxxxxxxxx>To: <programmingblind@xxxxxxxxxxxxx> Sent: Monday, September 17, 2007 8:25 AMSubject: Re: Text Adventure Resources, PHP4 Criticism (Was: Is there a program that will let me create text adventures?)Hi alex, For text adventures, there are frameworks, class libraries and parsers that are hard to beat. Inform the bytecode of whose Infocom used in their Zork adventures, among others: http://www.inform-fiction.org/I7/Welcome.html Tads 3 is more object-oriented and advanced: http://www.tads.org/tads3.htm If you don't like writing code some good adventures have also been created using Adrift: http://www.adrift.org.uk/cgi/new/adrift.cgi For what has been done with these tools try: www.ifarchive.org and http://www.sparkynet.com/spag/ For quirky game ideas and a whole lot of links go here: http://emshort.wordpress.com/reading-if/ I wouldn't necessarily use PHP for Webby adventure development unless you already know that. I've never personally liked the language for many many reasons and writing a parser from scratch is basically wasted effort unless you count learning and the fun of coding something from scratch. Here's what I hate in PHP: * Overly friendly but inexact docs, that is behavior in error conditions not well specified and tone not K&R:ishly formal even if it would be beneficial. * OOP system is very weak in PHP 4, and not extendably minimalist as in Perl 5, for instance. * Only one aggregate data type that blends hash and array access. Hard to tell whether it only contains ints and it seems both the advantages of hashes and arrays are lost. You cannot index non-integer types quite as fast as pointer arithmetic yet the PHP arrays are ordered and hash-like, despite a hashtable being inherently unordered. That's just strange, conceptually, and probably not very efficient. * Syntax is C-like, reference semantics have not been well specified or at least I've never understood them, and the compiler errors often sound like they're straiht from some automatic tools . That is, full of obscure symbols. * Bloated class library at least in php4. There's redundant convenience in places, without the facilities to generalize using callbacks or extra args, and naming is a horible jumble borrowing from which ever language the function in question has been lifted. * PHP doesn't have a good track record in security despite nifty hacks like magic quotes. One bad thing is autovivifying variables based on URl parameters, if I may use the Perl lingo here. That can cause quite bad security issues, if I've understood things correctly, but some PHP libs require that the feature is on. What are the advantages, really, apart from some nifty CGI functionality, and easy initial configuration? It seems to be there's nothing special or really interesting in PHP as a programming language. NOt that such a language could not be nice for Webby stuff given good libs, though. Note that I have only used PHP4 in a project which tried extending the OS Commerce platform for a client's needs. So PHP 5 might be much better and as with Perl, if you are a good coder, you don't do the things that are evil, admitted. Still I thought I'd mention the gripes I have with the lang to generate some discussions for workarounds, clarification and the merits of PHP for new users. Feel free to move this to a separate thread. -- With kind regards Veli-Pekka Tätilä (vtatila@xxxxxxxxxxxxxxxxxxxx) Accessibility, game music, synthesizers and programming: http://www.student.oulu.fi/~vtatila alex wrote:Well i was just wondering if there was a program that will let me create text adventures? Or is there one for MUDS? (rpgs)?__________ View the list's information and change your settings at //www.freelists.org/list/programmingblind__________View the list's information and change your settings at //www.freelists.org/list/programmingblind
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind