Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
KPat
Commits
eb1e0bb2
Commit
eb1e0bb2
authored
Mar 20, 2021
by
Michael Lang
Browse files
When rank build option, no need to check other suits/colors before moving to foundation
parent
f7a807c0
Changes
1
Show whitespace changes
Inline
Side-by-side
src/patsolve/freecellsolver.cpp
View file @
eb1e0bb2
...
...
@@ -209,6 +209,10 @@ int FreecellSolver::good_automove(int o, int r)
return
true
;
}
if
(
m_sequenceBuiltBy
==
1
)
{
return
true
;
}
for
(
int
foundation_idx
=
0
;
foundation_idx
<
4
*
m_decks
;
++
foundation_idx
)
{
KCard
*
c
=
deal
->
target
[
foundation_idx
]
->
topCard
();
if
(
c
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment