0

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.

0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .