# Armaan Bhojwani 2021
class Card(list):
- starred = False
+ """Card extends the list class, and adds ability to star them."""
+ def __init__(self, inp):
+ super().__init__(inp)
+ self.starred = False
def unStar(self):
self.starred = False
class Status():
- index = 0
- side = 0
+ """The status class keeps track of where in the deck the user is"""
+ def __init__(self):
+ self.index = 0
+ self.side = 0
def forward(self, stack):
if not self.index == len(stack):