Adventurer

It’s the last day of NaCreSoMo, and last night I decided to make a little Choose-Your-Own-Adventure game player (written in Swift, of course):

What’s nifty about it is that it is indeed a game player, meaning it reads in all the game content in the form of a file, and it’s easy enough to make your own. What’s doubly nifty about it is that the format is based on the well-known Markdown format for working with formatted text. (This blog is written using Markdown files, for example.) That means it’s relatively easy to edit, and also that if you use the right sort of converter, the story is also playable as a web page.

I wrote the code in Swift, so it’s not quite live online, but you can check it out yourself on a Mac with Xcode, or a Linux machine with Swift installed (also requires clang to be installed). Either Swift 4.0 or 4.1 should work.

Download the “Adventurer” package here.

But if you really want to make your own choose-your-own-adventure games in this day and age, the way to go is apparently Twine. There’s a whole variety of things it can do and people have made some pretty cool stuff with it.


It’s the last day of NaCreSoMo, but since this post was really for what I did yesterday, I’ll probably put up one more tonight. Just don’t be surprised if it’s the final version of Yotsuha.

Part of NaCreSoMo 2018.