I have been able to draw the board properly. I can locate the blank tile and tell when the blank tile is adjacent to the tile the user wants to move. My program warns the user when he/she selects a non-adjacent tile.
But I cannot figure out how to swap them once I know they are adjacent! Any hints or pseudocode would be much appreciated!!!!