Features Podcasts Family Video Comics Music Tech Science Books Film & TV Games ✚

Jill

PlayFic: an online toolset and community for easily making text-adventure games

Cory Doctorow at 8:00 am Thu, Feb 16, 2012

— FEATURED —

Book Review

The Man Who Laughs: grotesque Victor Hugo potboiler was the basis for The Joker

Feature

Eurovision 2013: An American in London

Book Review

The Twelve-Fingered Boy - mesmerizing YA horror novel

— FOLLOW US —

Boing Boing is on Twitter and Facebook. Subscribe to our RSS feed or daily email.

 

— POLICIES —

Except where indicated, Boing Boing is licensed under a Creative Commons License permitting non-commercial sharing with attribution

 

— FONTS —

Tweet
Kindle


Andy Baio and his 15-year-old nephew Cooper McHatton created PlayFic, "a community for writing, sharing, and playing interactive fiction games (aka 'text adventures') entirely from your browser, using a 'natural language'-inspired language called Inform 7." Basically, it's a site for making your own Zork-style games, sharing them, critiquing them, and collaborating on them. It includes a "view game source" button that, like the "view source" item in browsers, can be used to kick-start your own progress into creation by seeing how the work you admire is put together. Waxy sez,"

My hope is that Playfic opens up the world of interactive fiction to a much wider audience — young writers, fanfic authors, and culture remixers of all ages.

While the language can be tricky, building simple games is surprisingly easy. Cooper had never coded anything or made a game before trying Playfic, and within 30 minutes of futzing around, he'd made his first game.

Some stuff is broken and missing, but I'd love to hear what you make of it. Open to any and all feedback. Go make some games!

Playfic (via Wonderland)

I write books. My latest is a YA science fiction novel called Homeland (it's the sequel to Little Brother). More books: Rapture of the Nerds (a novel, with Charlie Stross); With a Little Help (short stories); and The Great Big Beautiful Tomorrow (novella and nonfic). I speak all over the place and I tweet and tumble, too.

MORE:  Games • happy mutants • Kids • maker

More at Boing Boing

Eurovision 2013: An American in London

The technology that links taxonomy and Star Trek

  • nixiebunny

    Kids these days! When I was that age, I was reading the source code in the file ADVENT.FOR and figuring out how the database was encoded.

  • Chuck

    You walk into a room, and see a computer on a table.  On the computer’s monitor is displayed a prompt for a text adventure game.

    What do you want to do?

    >_

  • Felton / Moderator

    It is pitch black.  You are likely to be eaten by a sweaty monkey.

    >_

    • Chuck

       > Eat sweaty monkey before sweaty monkey can eat me.

      • http://twitter.com/a_w_young a_w_young

        I don’t know what a “Eat” is!

        It is pitch black. You are likely to be eaten by a sweaty monkey.

        >_

  • http://vertigo25.tumblr.com/ vertigo25

    This is awesome.

    I’ve written inform 7, before, and to call it “natural language” is a little off. It *is* natural language but also… writing the games is much like playing them.

    For example, creating a room might go something like this (this is not accurate, it’s been awhile, but gives the flavor):

    I’m in a room called “BoingBoing Lobby”.

    It is not dark here.

    The room’s description is ‘This is a small room filled with happy mutants.”

    There is an exit to the east. The exit to the east goes to a room called “Mark’s Office”.

    Go east.

    (and then you would start working on that room.)

    • EvilSpirit

       … and I cannot imagine why one would consider that an appealing way to construct a game, but apparently, people do.

      The world is truly filled with surprises.

      • Andrew Singleton

        I actually find Inform7 easy to work with for basic building. i’ts actually keeping a string of thoughts long enough for proper descing that trips me up.

    • DevinC

      I wrote a game in Inform 7, and found the syntax was just as restrictive as traditional programming languages, with the added problem that just because a malformed sentence made sense in natural language and looked like what I thought Inform 7 would be expecting did not mean it was a well-formed Inform 7 sentence.  I found debugging in Inform 7 harder. 

      • The Hamster King

         My experience with Inform 7 was exactly the same.  It’s easy to create trivial things, but once you try to construct anything with any complexity, the eccentric syntax drags you down.

        • Tynam

           Exactly. I like to think of Inform 7 as the RAD of IF games; it’s good for rapid prototyping a simple layout but it’s time to drop back to Inform 6 when you want to do something complex.

          But then, Inform 6 was already pretty awesome.

  • semiotix

    > REMOVE UNNECESSARY ADVERBS

    You glance around. It is humid.

    > MAKE ANALOGY LITERAL

    A sweaty monkey appears. He climbs into your hammock, visibly irritated at its crudeness.

    > NW

    Ha. You couldn’t find east at sunrise. But by all means, let’s pretend you’re some sort of orienteering champion for the four turns it will take you to put the game in an unwinnable state.

  • Lobster

    At last, at LAST… you CAN go ‘dennis’ from here.

  • howaboutthisdangit

    You are in a maze of twisted comments, all alike.

  • http://pulse.yahoo.com/_F4J74ZJSQVTGMQVKGXNYPJWBE4 Crafty

    I highly recommend Choice-Of Games: 
    http://choiceofgames.com/

    Simple scripting engine and it’s equally simple to port the end result to iOS.

  • SKR

    Neat. And here I had to learn C to code a mud back in the day.  damn kids have it easy lol.

    • DevinC

      LPC taught me object-oriented programming before I’d even heard of it.  *nostalgic sniff* I loved making new toys for the players, like swords that disintegrated into a swarm of Programming Bugs and Tannen Bombs for Christmas.

  • http://www.flickr.com/photos/stefan_e_jones/ Stefan Jones

    I’ve been implementing, on and off for years, a text adventure set in a summer camp.

    There’s no way that Inform 7 could do what I want to do*, so I’m using Inform 6.

    At one point, your camper character needs to keep from falling asleep. There’s a coffee maker  that has to be supplied with water and grounds and a mug. And when you drink the coffee, you hallucinate meeting Abraham Lincoln who gives you helpful advice, bu that’s another story . . .

  • http://twitter.com/Listener43 Listener43

    Crud, where’s my towel?

    • Felton / Moderator

      It’s in the thing your aunt gave you which you don’t know what it is.

  • Andrew Singleton

    Interesting. Wish there was a more definate ‘how to build’ tutorial that doesn’t rely on user hunting material out themselves, but the fact they’ve even gotten this far is encouraging.