1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Implement for All in a Row too.

This commit is contained in:
Shlomi Fish 2014-05-09 16:51:44 +03:00
parent 85ecb25e30
commit c07b60a65c

View file

@ -1037,9 +1037,11 @@ class BlackHoleSolver_Hint:
#
# import pdb; pdb.set_trace()
card = self.game.s.foundations[0].cards[-1]
if card:
board += 'Foundations: ' + self.card2str1(card) + '\n'
cards = self.game.s.foundations[0].cards
s = '-'
if (len(cards) > 0):
s = self.card2str1(cards[-1])
board += 'Foundations: ' + s + '\n'
for s in self.game.s.rows:
b = ''