From kde-bugs-dist Fri Feb 11 08:36:08 2011 From: Stephan Kulow Date: Fri, 11 Feb 2011 08:36:08 +0000 To: kde-bugs-dist Subject: [Bug 265857] Solver reports spider is solvable, but no legal move Message-Id: <20110211083608.4F0907D368 () immanuel ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=129741334521351 https://bugs.kde.org/show_bug.cgi?id=265857 --- Comment #5 from Stephan Kulow 2011-02-11 09:36:06 --- the bug is pretty obvious. Check SpiderSolver::get_possible_moves and see the for ( int l = 0; l < 13; ++l ) { if ( RANK( W[w][Wlen[w]-l-1] ) != l+1 || SUIT( W[w][Wlen[w]-l-1] ) != ace_suit ) loop. There is no check if the card is face up. -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.