     false
 
   game.show()
-)

# storyturtle.js
# License MIT
# http://simplectic.com/story_turtle
$(->
  game = $("#game").hide()
  editor = $("<textarea>", { rows: 15, cols: 30 }).
    hide().val(game.text()).appendTo(game.text(""))
  board = $("<div>").width(300).height(300).appendTo(game)
  speaker = $("<div>").width(350).appendTo(game)
  play = $("<a>", href:'#').text("Play!").css(float: "left")
  edit = $("<a>", href: '#').text("Edit").css(float: "right")
  controls = $("<div>").width(300).append(play, edit).appendTo(game)

  features = {}
  moveQueue = []
  offset = {top: 0, left:0}

  create = (cb, name, type, x, y)->
    feature = features[name]

      if step
        step.check.handle step.match, next
      else
        go cb

    next()

  play.click ->
