My sense is that Foundation and Tableu would have been more understanable and that they did not need to be typed many times.
Another tip...
if (t_stack_last.suit == 0 or t_stack_last.suit == 1): if (stack_first.suit == 2 or stack_first.suit == 3): self.stack.card_return = t # --> if t_stack_last.suit in (0, 1) and stack_first.suit in (2, 3): self.stack.card_return = t