diff --git a/pysollib/games/diplomat.py b/pysollib/games/diplomat.py index d64275a5..64848571 100644 --- a/pysollib/games/diplomat.py +++ b/pysollib/games/diplomat.py @@ -70,7 +70,7 @@ class Diplomat(Game): # create stacks x, y = l.XM, l.YM for i in range(8): - s.foundations.append(self.Foundation_Class(x, y, self, suit=i/2)) + s.foundations.append(self.Foundation_Class(x, y, self, suit=i//2)) x = x + l.XS x, y = l.XM, y + l.YS for i in range(8): diff --git a/pysollib/games/gypsy.py b/pysollib/games/gypsy.py index af4e646a..eeebda75 100644 --- a/pysollib/games/gypsy.py +++ b/pysollib/games/gypsy.py @@ -247,7 +247,7 @@ class MissMilligan(Gypsy): s.talon = self.Talon_Class(x, y, self) for i in range(8): x = x + l.XS - s.foundations.append(self.Foundation_Class(x, y, self, suit=i/2)) + s.foundations.append(self.Foundation_Class(x, y, self, suit=i//2)) x, y = l.XM, y + l.YS rx, ry = x + l.XS - l.CW//2, y - l.CH//2 for i in range(reserves):