I'm having trouble with the move function in Game of Fifteen. Tried a lot of different ways, but couldn't get any to work. Code is at [deleted]. Not trying to keep user input within bounds of board yet. Any help would be appreciated.
Solved the problem. Turns out it had nothing to do with my move function, but rather I made a silly mistake in my draw function which made it so that the board never changed. I'll leave this up for anyone else who might have a similar problem.