Changed flattened board state from an Integer to a String.