         return
 
     turn: (dir) ->
-        if dir == 4
-            alert "Danger, Mr Robinson Dir is 4!"
         @protagonist.dir = dir
-        alert @protagonist.dir
         @gameVisual.charFace @protagonist.index, @protagonist.dir
         return
 


    go: (steps) =>
        steps = 1 if steps is undefined
        log "Go #{steps} steps."
        @gameState.move steps

    turn: (dir) =>
        log "turn '#{dir}'"
        return if dir is undefined
        d = $.inArray(dir, ['N','E','S','W'])
        if d >= 0

        return

    turnRight: =>
        # log "turnRight"
        @gameState.turnRight()
        return

    turnLeft: =>
        # log "turnLeft"
        @gameState.turnLeft()
        return

    turnAndGo: (direction, steps) =>
        # log "turnAndGo #{direction} #{steps}"
        @turn direction
        @go steps
        return
