Welcome, Guest. Please login or register.

Author Topic: creating a text adventure, but with what programming language?  (Read 16713 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show all replies
    • http://totalchaoseng.dbv.pl/news.php
True BASIC has the absolute best string handling of any language ever.

What is a text adventure program?  A program that handles strings.

I used to do text adventure coding back in the olden days.  I wrote a really awesome parser.  A friend wrote the descriptions for the rooms and objects.

Good luck.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show all replies
    • http://totalchaoseng.dbv.pl/news.php
Re: creating a text adventure, but with what programming language?
« Reply #1 on: January 03, 2011, 09:30:42 PM »
Quote from: rockersuke;603457
@Chaoslord

Which is that text-adventure you wrote? Perhaps I've already seen it but didn't know you were the author, or maybe I wasn't aware at all of it. Tell us about it! :)
My 1st one was on Apple ][+.   I can't remember what I called it.
My parser was better than any Scott Adams adventure but not as good as Infocom.

The next 2 were on C64: Murkland, Haunted House
My parser was much better than any infocom parser.

I then decided that nobody wanted to play text adventures anymore so I gave up on them :( and ripped out the super duper mega parser and put it into BattleDroids Construction Set later renamed to BattleMech Construction Set (C64 & Amiga) then eventually ripped the parser out of that and plugged it into Total Chaos (Amiga).
 
So at least I got some lasting use out of my text adventure coding days. :)
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show all replies
    • http://totalchaoseng.dbv.pl/news.php
Re: creating a text adventure, but with what programming language?
« Reply #2 on: January 03, 2011, 10:01:48 PM »
Quote from: Karlos;603613
I would rank Perl and PHP as far above any BASIC dialect in terms of string processing capability ;)
But then you would be wrong. :)
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show all replies
    • http://totalchaoseng.dbv.pl/news.php
Re: creating a text adventure, but with what programming language?
« Reply #3 on: January 03, 2011, 11:16:10 PM »
@Karlos
Ok go ahead.  Show me in Perl how to extract a 3 characters string from another string starting at the 5th character and then insert that extracted string into another string starting at the 20th character.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show all replies
    • http://totalchaoseng.dbv.pl/news.php
Re: creating a text adventure, but with what programming language?
« Reply #4 on: January 04, 2011, 03:46:50 AM »
About Perl
Quote from: Karlos;603637
http://perldoc.perl.org/functions/substr.html

That is 200x better than Asm.
That is 100x better than C.
That is about exactly the same as any random halfway decent version of BASIC.
That is not as good as True BASIC.  Its just not even trying.
Fail.

I am not saying the language is a failure because I have not studied it enough to know.  I am saying that your claim of Perl string handling superiority is a failure. :)

Trying to compare Perl to a language that was actually designed to handle strings efficiently is just not going to work out that well. :)
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA