Timeline for game of fifteen check50
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 6, 2017 at 10:36 | comment | added | Blauelf | Your programme did not reject the invalid move in that case. | |
Apr 6, 2017 at 10:33 | comment | added | Rahul | No didn't specified the mistake. You had written "In case of an illegal move, when empty tile and tile to move are not adjacent, do not swap and return true, but instead return false." And my code was working for all other cases except this. | |
Apr 6, 2017 at 10:28 | comment | added | Blauelf | Which is exactly what I said, invalid moves need to be rejected, which your code did not. | |
Apr 6, 2017 at 10:20 | vote | accept | Rahul | ||
Apr 6, 2017 at 10:20 | vote | accept | Rahul | ||
Apr 6, 2017 at 10:20 | |||||
Apr 6, 2017 at 10:20 | history | answered | Rahul | CC BY-SA 3.0 |