 
 boardEqual = (oBoard, nBoard) ->
   for e, i in oBoard
-    console.log "old row: ", e
-    console.log "new row: ", nBoard[i]
+    # console.log "old row: ", e
+    # console.log "new row: ", nBoard[i]
     #watch out for iterating this that you don't return "true" if the first element is true!!!
     if not arrayEqual(e, nBoard[i])
       return false

  result = boardEqual(oBoard, nBoard)
  not result


showValue = (value) ->
  if value == 0 then "" else value

      if moveIsValid(@board, newBoard)
        console.log "valid"
        @board = newBoard
        #generate tile
        generateTile(@board)
        #show the new board
        showBoard(@board)
        #check GAME OVER
        if isGameOver(@board)
          console.log "YOU LOSE"
      else
        console.log "invalid"
      #check move validity
