diff options
Diffstat (limited to 'src/card.py')
-rw-r--r-- | src/card.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/card.py b/src/card.py new file mode 100644 index 0000000..c4f7541 --- /dev/null +++ b/src/card.py @@ -0,0 +1,10 @@ +""" +Defines a struct representing a single card. The struct takes the form: + +(front, back) +""" + +from collections import namedtuple + +Card = namedtuple('Card', ['front', 'back']) + |