]> git.armaanb.net Git - lightcards.git/blobdiff - lightcards/deck.py
Add comments to code
[lightcards.git] / lightcards / deck.py
index 4a768b6b2f7d41fca9f703f63c76e189f132ab2f..e3ef5c523a3a27d0068c23882be9c541e91aee62 100644 (file)
@@ -2,6 +2,7 @@
 # Armaan Bhojwani 2021
 
 class Card(list):
+    """Card extends the list class, and adds ability to star them."""
     starred = False
 
     def unStar(self):
@@ -27,6 +28,7 @@ class Card(list):
 
 
 class Status():
+    """The status class keeps track of where in the deck the user is"""
     index = 0
     side = 0