         true
 
       clone: ->
-        cloned_game = new Game
+        clonedGame = new Game
           width: @width
           height: @height
           prisoner: new Piece({

        return game

      else if checked.indexOf(JSON.stringify(game)) is -1
        json_game = JSON.stringify(game)
        checked.push json_game

        for i in [0...game.pieces.length]
          pos_game = game.clone()
          neg_game = game.clone()

          if pos_game.move(i, true)
            queue.push pos_game
          if neg_game.move(i, false)
            queue.push neg_game

    return false



    game

  solve = (initialGame) ->
    checked = []
    queue   = [initialGame]

    while queue.length
      game = queue.pop()
