mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-15 02:54:09 -04:00
Implement for All in a Row too.
This commit is contained in:
parent
85ecb25e30
commit
c07b60a65c
1 changed files with 5 additions and 3 deletions
|
@ -1037,9 +1037,11 @@ class BlackHoleSolver_Hint:
|
||||||
#
|
#
|
||||||
|
|
||||||
# import pdb; pdb.set_trace()
|
# import pdb; pdb.set_trace()
|
||||||
card = self.game.s.foundations[0].cards[-1]
|
cards = self.game.s.foundations[0].cards
|
||||||
if card:
|
s = '-'
|
||||||
board += 'Foundations: ' + self.card2str1(card) + '\n'
|
if (len(cards) > 0):
|
||||||
|
s = self.card2str1(cards[-1])
|
||||||
|
board += 'Foundations: ' + s + '\n'
|
||||||
|
|
||||||
for s in self.game.s.rows:
|
for s in self.game.s.rows:
|
||||||
b = ''
|
b = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue