           })
 
         for i in [1...@pieces.length]
-          cloned_game.addPiece new Piece({
+          clonedGame.addPiece new Piece({
             x: @pieces[i].begin.x, y: @pieces[i].begin.y
           }, {
             x: @pieces[i].end.x, y: @pieces[i].end.y
           })
 
-        cloned_game
+        clonedGame
 
   arrayToGame = (array) ->
     height = array.length

        true

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

        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

