   for row in [0..3]
     for col in [0..3]
       $(".r#{row}.c#{col} > div").html(board[row][col])
-  console.log "show board"
 
 printArray = (array) ->
   console.log "--- Start ---"

  showBoard(@board)

  $('body').keydown (e) =>
    # e.preventDefault()
    key = e.which
    keys = [37..40]

    if key in keys
      direction = switch key
        when 37 then 'left'
        when 38 then 'up'

      # try moving
      move(@board, direction)
      # check move validity



