summaryrefslogtreecommitdiffstats
path: root/src/card.py
blob: c4f75411a18d2b29087be4ca94c53c4c1a549a1e (plain)
1
2
3
4
5
6
7
8
9
10
"""
Defines a struct representing a single card. The struct takes the form:

(front, back)
"""

from collections import namedtuple

Card = namedtuple('Card', ['front', 'back'])