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