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


    game

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

    while queue.length
      game = queue.pop()

        return game

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

        for i in [0...game.pieces.length]
          posGame = game.clone()
          negGame = game.clone()

          if posGame.move(i, true)
            queue.push posGame
          if negGame.move(i, false)
            queue.push negGame

    return false

