Questions tagged [pset3-fifteen]

The tag has no usage guidance.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
2answers
383 views

Check50, Game of Fifteen. Timed out while waiting for “Illegal move”

I've finished working on my pset3 game of fifteen. After consulting Check50, it keeps telling me that: timed out while waiting for "Illegal move." Can someone explain this to me? Don't know what to do....
0
votes
0answers
30 views

(move) control may reach end of non-void function

Please go easy on me :( I feel like I'm over-complicating things. bool move(int tile) { // TODO int h; int k; for (int i = 0; i < d; i++) { for (int j = 0; j < d; j++...
0
votes
1answer
33 views

problem with move function in game of fifteen

I am having problem with my move function in the game of fifteen. I don't know what do. I need someone to point out what I'm doing wrong. Thanks in anticipation. //To create rows (i) and columns (j) ...