Twine, and You’re In A Garden Or Whatever

I wrote a very short choose-your-own-adventure type game yesterday, and it’s called You’re In A Garden Or Whatever. It’ll take you maybe two minutes to play.

It’s really just a learning experiment (a “Hello World” in programmer parlance) for a new game development environment called Twine that I’ve been interested in trying for a while. Twine’s particularly interesting because it was designed specifically to be really, really easy for folks to learn to use. It succeeds wonderfully at that.

And not easy as in “compared to programming a game by touching actual metal wires together in the belly of a mainframe computer”; there are a lot of game development tools that are easy to get started with or relatively simple to work within compared to a full-throated traditional programming environment but which still present a very steep, very imposing wall of conceptual and practical barriers to someone who doesn’t already know a bit about software development. They’re useful, interesting tools, but they are not beginner-friendly.

Twine is easy as in “if you can understand how a Choose Your Own Adventure book works, you can do this”. A basic Twine game is as simple as a text description of the current situation the player is in and further description of maybe a couple of choices of how to proceed: do you want to push the lever, or go out the window? You write out labels for “push the lever” and “go out the window” respectively, and Twine will link those to the page you make that choice from.

So the code for the first page of You’re In A Garden Or Whatever looks like this:

You're in a garden. There's a tree nearby with some fruit on it.

* [[check that tree out]]
* [[just chill out, whatever]]

That’s it. Double square brackets for a link, and Twine will look for another little page in your collection of pages named that. Here’s what my page titled “check that tree out” looks like:

It's a big tree, with a whole bunch of fruit on it.

* [[eat some fruit]]
* [[man, it's nice out today]]

And so on. My game here has only 20 pages (or as Twine calls them, “passages”, which is a clever play on their role as both short passages of text and conceptual game “rooms” leading one to the next), and just a few more than 800 words, and I wrote it up in maybe an hour including debugging a couple of bad story links I’d created. I spent almost all of my time actually having fun building a thing, and I’m excited to tackle something a little more ambitious now in terms of story content.

If you like the idea of writing up a simple bit of interactive fiction, or grew up on Choose Your Own Adventure books, or always liked the idea of text adventures but couldn’t stand dealing with the guess-the-verb nature of classic text parsers (‘get sword’ … ‘I DON’T KNOW HOW TO GET SWORD’ … ‘oh bite me, game’ … ‘THERE IS NO BITE ME, GAME HERE’ … ‘augh!’), give Twine a look. It’s free, it’s a cinch to install on both Windows and Mac boxes (and works with a little nudging on Linux as well) and it won’t give you a headache. There’s some nice, short, gentle walkthrough videos at the bottom of the Twine page that will show you everything you need to make something at least as polished as the game linked here.

Really all you need is a story you want to tell and a willingness to sit down and write it. Twine does a magnificent job of getting out of your way and letting you do just that. Give it a shot.

(Confidential to seasoned programmers: Twine does provide some more advanced facilities for more complex game interactions, if you’re into that sort of thing. You can write and read arbitrary variable states, you can inline arbitrary HTML and include CSS styling, you can toss in your own JavaScript hooks, etc. It is excellent at not making things difficult for the novice game writer but it’s got a bit of horsepower under the hood too if you want to go looking. If you like the idea of writing a game as in using-the-written word but want to be able to do clever programmatic things with the environment or game mechanics, there are a ton of little Twine hacks out in the wild that prove that that is very doable.)

New recording: Margaritahell

This month over on Metafilter’s Music section we’re having a “rework a major key son gin minor or vice versa” internet double dog dare, and this afternoon I got to thinking it could be fun to do a real low-key bummer version of Jimmy Buffet’s Margaritaville. So I laid down a guitar track and a uke track and a couple vocals into my iphone, and here we go:


Bird Presidents #18: Ulysses S. Grouse

Ulysses S. Grouse

I don’t underrate the value of military knowledge, but if birds make war in slavish obedience to the rules, they will fail.
~ Ulysses S. Grouse

Ulysses S. Grant; the grouse, a bird of order Galliformes, which I think we can all agree is the order of birds Doctor Who would be of if he were a bird.

Grant! He’s the one with the tomb that he’s in, or so I hear. And he did a pretty bang-up job with the Union forces under his control in the Civil War, by all accounts. But his presidency apparently involved a generous helping of corruption scandals, though perhaps it’s up in the air whether that’s because of any corruption on his part or just an inability to spot and/or effectively deal with corruption among his administration. Politics not being a shooting fight most of the time, and all that?

Also, at one point in 1862, he decided to just straight up kick all of the Jews out of his military district, which, hrm. Lincoln said no, apparently.

Sketchbook: Me, Kirk, and Wikipedia

self-portrait from photo

I’ve been really enjoying drawing my Bird Presidents the last couple of weeks, as much as anything because it’s reminded me that I actually like to draw, something I used to do all the time but haven’t done a whole lot of lately. And so I’ve been trying to make a point of sitting down and doing a little bit of non-bird drawing every day, and so I’ve got a small pile of non-bird sketches that I like, so, here, yes: a sketchbook dump. Maybe it’ll turn into a regular thing.

I didn’t stop drawing for any particular reason (and I didn’t even really think of it as “stopping drawing”, so I was surprised to realize that’s essentially what I must’ve done since lately I feel like I’ve started drawing again); I think it’s a combination of not tromping around town with a backpack full of notebooks and pens, not having a deskjob where I’m denied other distractions and so forced to keep my brain busy with my hands, and maybe just getting a bit discouraged by lack of progress in my skillset and spending my creative energy on other things like music and writing and so on.

But yes: drawing! It’s fun! And the birds and the sketching lately have made me remember that I can kind of do something with this, that years and years of drawing growing up actually sticks around. If anything, I’m feeling like daily sketching has gotten me into a better, more careful, more happy-with-what-I’m-producing place than I had been previously.

So! Here’s some stuff!

unknown woman in a hat

This lady was from an archive of I think historical Canadian photographs that I tripped across on Flickr. Which got me thinking about sketching random people I have no knowledge of, because that could be interesting and also a little less stressful than trying and failing to capture someone I really have a sense of. And that lead to a new excuse to sketch:
Continue reading

Bird Presidents #17: Kagu Johnson

Kagu Johnson

I’m an avian! I glory in it; I am an avian. The birds — yes, the birds of the United States have made me what I am…
~ Kagu Johnson

Andrew Johnson; the kagu, whose reaction to Cocoa Puffs is not apparently documented.

“Kagu” for Andrew is a bit of a stretch, as was “auklet”, but I decided the kagu looked like a bit more fun to draw and so here we are. Look at that crazy head plumage! I didn’t really do the feathery mess justice but you at least get the idea. (“Antwren” would have been a bit more on the nose in terms of morphological similarity to Andrew, but have you seen the antwren? It just looks like a wren. Which looks like a billion other wrens and such. Creative license justified in this case I think.)

Johnson got the job as Lincoln’s second Vice President, a role in which it seems like he found himself through a mix of political convenience (a steadfastly pro-Union man but of Southern heritage and popular with Southern whites, right as the Civil War was starting to look like it might be ending and some sort of reconstruction of the country would be the business of Lincoln’s second term) and a fair amount of effort on his own part to put himself at the top of the VP ballot in 1864. And then, of course, Lincoln got shot a few weeks later. The whole presidency thing didn’t go stunningly after that.

But I learned two things about Andrew Johnson while putting this one together, both of which allegedly involve booze!

1. His Vice Presidential inaugural address was delivered the morning after a night of partying, and possibly after a bit of hungover pre-gaming, and so was sort of rambling and incoherent and terrible. Maybe he had the flu? Maybe he was just actually drunk? Sands of time, we’ll probably never know, but in any case the quote here is a section from that apparently deeply embarrassing speech, and not really the least flattering bit.

2. When Lincoln was shot by John Wilkes Booth, it was part of an apparent conspiracy to take out not just the head honcho but also vice honcho Johnson and honcho-of-State William Seward. Seward survived his injuries; Lincoln, not so much; but Johnson came out unscathed entirely, not because his attacker was a poor shot or anything like that but because said would-be assassin instead spent the fateful evening getting mad crunk at the hotel bar and then wandering around the streets of D.C.

So it’s kind of a wash with Johnson and booze.

Bird Presidents #16: Albatross Lincoln

Albatross Lincoln

Slavery is founded in the selfishness of birdkind’s nature — opposition to it, in his love of justice.
~ Albatross Lincoln

Abraham Lincoln; the albatross, no known subspecies of which wears a beard and hat but there may at this late date be things yet beyond the ken of avian science.

What would I write about Abe Lincoln? You know about him. I had to skim through pages and pages and pages of quotes looking for which one to use; he has a bigger wikipedia footprint than probably the ten preceding presidents combined. Civil War. Great Emancipator. Shot to death at (spoiler alert) the theater. It’s Lincoln. There’s a movie out.

To that point, actually, this one has actually had me a little nervous — you could say it’s been a bit of an albatross, ho ho ho &c. — because people know Lincoln. He’s got popular iconography. The beard! The hat! The beardless chin, sometimes! Even people who can’t draw a map to the gas station can draw you something on a napkin that everyone else at the bar will recognized as Honest Abe.

So there’s a kind of pressure here that’s was’t there with e.g. Moorhen Van Buren. “Oh, I can’t wait to see how you do the moorhen,” has said exactly no one to date. And I recognize I’m being neurotic but that doesn’t make the neurosis go away, and it actually gave me some pause this morning when I sat down to work on it, like: what if it’s not good enough? What if it’s not Lincolnian enough? What if the little hat I draw on the bird doesn’t look just so?


I have been recently reading a small book called Art & Fear, on the suggestion of my immensely talented internet friend Brad “Brad Sucks” Turcotte, and it’s very good and in part about exactly this sort of thing. And the main lesson I have taken so far from it is to shut up and just do a thing, which is a policy I’ve always endorsed but not so consistently applied so it is nice to be reminded of it by a sensible book by smart people.

And so, here it is: a drawing of Lincoln as a bird that I just shut up and did, and it’s good enough (I don’t actually dislike it) and I can now move on to president number 17 in the series instead of sitting around worrying myself to death about whether this one is The Best Lincoln Bird I Could Possibly Make. Forward progress, momentum, iterating on a useful form! That’s the ticket.

Also, on a personal note, my strongest association with “albatross” is neither the bird nor the metaphorical weight but the giant flying fortress thing that you had to beat at the end of Bionic Commando right before your final confrontation with Resurrected Hitler. It was hard to blow up Hitler in his helicopter, but beating the Albatross first was definitely harder.

Bird Presidents #15: Blue Jay Buchanan

Blue Jay Buchanan

Sir, if you are as happy in entering the White House as I am in leaving it, you are a happy bird indeed.
~ Blue Jay Buchanan

James Buchanan; the blue jay, which I guess we don’t see a lot of here in Portland though there are plenty of scrub jays around. It’s a bird, it’s blue, good enough.

James Buchanan completes the hat trick of consecutive presidents about whom the key thing seems to be Boy They Were Terrible; he was the last president prior to the Civil War and managed to not do such a great job of preventing it. (And apparently remarked more than once in a panic that “I am the last President of the United States!”, which, hey, how about a little optimism, man.)

He also had some pretty great hair, which I tried to reflect (along with a not so subtle allegorical nod to a breaking of the nation beyond his ability to prevent or repair) in the drawing.

Bird Presidents #14: Penguin Pierce

Penguin Pierce

And now war! war, in its direst shape — war, on a scale of a million birds in arms — rages in several States of the Union…
~ Penguin Pierce

Franklin Pierce; the penguin, of which this is a king rather than an emperor, not that that’s any less problematically monarchistic for an ostensibly presidential bird.

Franklin Pierce manages somehow to be the president who is worse than Fillmore, which is something I guess; it may be that he was just the wrong president at a very difficult time in presidential history (and it does feel a bit like everybody leading up to Lincoln was in the difficult place of being Not Lincoln, especially as seen from the long late view where Lincoln himself is held in such high general esteem as a mythic presidential figure), but in any case nobody seems to remember him and those who do don’t seem to have a lot of praise for his administrative legacy. A legacy defined in significant part by functionally pro-Confederacy, pro-slavery politics? Fun.

But he was also allegedly a nice enough guy as just a guy, and he struggled with alcoholism and that maybe ruined his marriage and also all of his kids died young, which is pretty terrible stuff to have to deal with so, hmm. Historical figures I’m not deeply familiar with: they’re complicated.

Don’t feel like I did a great job of communicating the specular highlighting on his back and the top of his wing — my tendency with pen strokes and hatching seems to run kind of counter to that sort of effect. Have to think about how to approach that sort of thing, or maybe avoid wet black birds.

Also I accidentally threw an apostrophe on a possessive its and smudged the ink near the feet a little bit when trying to erase some pencil marks. It’s hard out there for a bird presidentizer.