1 # Classes pertaining to the card deck
6 """Class containing the card information."""
8 def __init__(self, inp):
19 return f"{self.front}, {self.back}"
41 return (self.front, self.back)
43 return (self.back, self.front)
53 """Keeps track of where in the deck the user is"""
59 def forward(self, stack):
60 if self.index != len(stack):
64 if not self.index < 1:
67 def get_reverse(self):