FORWARD BASE B

"Pay my troops no mind; they're just on a fact-finding mission."

My Parser Computer Game

Programmed in Python 3:

https://github.com/GiovanniDannato/Do-Anything-Text-Game

Growing up I had a special affection for games where you could type commands into a parser because unlike a mouse interface you could attempt anything you could possibly think of and play with language itself.  In puzzle games this made it so you had to actually think things through and no clickfest could save you.  One could try to cheat by typing “use x with y” for every combo of items in your inventory but designers were usually more clever than this.
Frederik Pohl’s Gateway, one of my favorite games of all time, had limited graphics but understood the fun and capricious nature of the text interface better than any other.  The designers actually made an effort to think of all the dumb stuff you might type in. Here’s a couple of screen shots I just made:

messing around in Frederik Pohl’s gateway

 

 

What’s more, Gateway was a very well-made game when you actually took it seriously.  I loved that kind of depth.  For years I wanted to make something similar.  So I did as a way to learn some python a couple years ago.  I’m sure my code is terrible by any professional standard but it seems to work.  There are still bugs of course.

I tried to add some of the whimsical flavor I loved so much back in the day from games like Zork and Gateway. Come to think of it, death sequences were definitely inspired by reading too many Choose Your Own Adventure books as a kid.  I have monsters, puzzles, and an ending.  The player character can take 3 hits before dying.  There is an optional item that will improve your chances at the end but solving that puzzle requires thinking a bit immaturely. If a monster seems overwhelmingly difficult, you probably haven’t found the right item/solved the puzzle yet. If you have a weapon but use the word “hit” you will still be attacking with your hands. For those who have never played these kinds of games:
‘i’ =”look at inventory”
‘n, s, e, w’ = “go x” direction
‘l’ = “look at room”

Finally got around to putting it on github:
https://github.com/GiovanniDannato/Do-Anything-Text-Game
DoAnything is the executable and it should run in python 3.

6 responses to “My Parser Computer Game

  1. sunhater May 6, 2018 at 11:29 pm

    YEssssssssssssssssss!!!!!

    If you liked Gateway you might like “Neo Scavenger”!

  2. Daniel Chieh May 9, 2018 at 1:21 pm

    I’ve made quite a few TADS games by now. Those little contests do help focus in a way.

  3. sunhater May 15, 2018 at 3:13 am

    print(“You must have a vivid imagination.”)

  4. sunhater May 15, 2018 at 3:53 am

    I have found a bug, it crashes if I write “look at down”.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: