You wake up in a strange place in the dark. Choose your own adventure as you look for a way out of this strange story. Make the right choices and you may escape. Make the wrong choices and your adventure may end early.
My Adventure was written using an example engine for writing choose-your-own-adventure like adventures. Anyone (even you) could simply by altering the data and make your own adventures to share with friends, family, and readers of Cymon’s Games. Just sent it here.
My Adventure was written by Ratfink on the Cymon’s Games forums.

Download and Play
Download the source code
May 25th, 2010 - 12:55 pm
Oops, room 16 should be:
{ 16,
“Dining room”,
“Well, what do you know? That was behind that door you’ve always been meaning\n”
“to open. Other than the man with the crossbow, this can all be explained\n”
“quite easily.”,
{ “Look out a window”,
“Enter the living room”,
“”, “”, “”},
{ 17, 18, 0, 0, 0}
}
I figured there would some error or another in it.
May 26th, 2010 - 7:17 pm
Would it be too complicated to use sentinels in your option list?
May have been useful to have an optiontype as well.
May 26th, 2010 - 10:59 pm
Uh, don’t know what a sentinel is so I can’t comment. As for an opiniontype, that would have been an excellent idea and I wanted to do it, but I resisted since I wrote the original engine for educational purposes, kind of to show what a struct was. Since this was their first time seeing one I decided to avoid nesting structs.
Actually, tho, if I had defined the struct outside and used it inside another struct that wouldn’t have been so bad. I guess I kind of forgot you can do that. I’m so used to defining single use structs in the statement where they’re being instantiated. Fine in most cases, not so good when you’re just learning.
I was also thinking a rewrite would include a string based search for the next room, so instead of the list of next rooms be to some abstract number it would be to the title of the room. The problem is one little typo and the whole thing falls apart. Maybe I should just leave it as linking to ID number.
July 9th, 2010 - 5:50 am
Nice stuff!
Time to convert all that Steve Jackson’s Fighting Fantasy books!
July 9th, 2010 - 10:03 am
Believe it or not, I’ve never heard of these books before now. I got myself $20 on amazon for my birthday. Maybe I’ll pick up a few. Any that anyone would recommend?
Looks like they’re already converting some of them to iPhone Apps. Still, it’s a simple model for an adventure game.