[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegames/kpat/patsolve
From: Stephan Kulow <coolo () kde ! org>
Date: 2011-01-26 12:44:20
Message-ID: 20110126124420.51C3AAC8BA () svn ! kde ! org
[Download RAW message or body]
SVN commit 1217243 by coolo:
klondike 3 is not as easy with automoves as klondike 1
BUG: 260927
M +4 -3 klondikesolver.cpp
--- trunk/KDE/kdegames/kpat/patsolve/klondikesolver.cpp #1217242:1217243
@@ -313,9 +313,10 @@
n++;
mp++;
- /* If it's an automove, just do it. */
-
- if (good_automove(o, RANK(card))) {
+ /* If it's an automove, just do it. Automoves from the pile are problematic though
+ in draw=3 because automoves can break the offset and break winnable games
+ */
+ if (good_automove(o, RANK(card)) && (w != 7 || m_draw == 1 || Wlen[7] < 3)) {
*a = true;
mp[-1].pri = 127;
if (n != 1) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic