1
0
Fork 0
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:
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() # 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 = ''