Representation of the Tiles
How should the tiles be represented?
We need 15 values to represent the tiles and one to represent the blank?
// Use 1..15 for the tiles and 0 for blank.
// Use 1..15 for the tiles and 16 for blank.
Rule of Thumb. Choose uniform representations if at all possible