summaryrefslogtreecommitdiff
path: root/src/card.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/card.c')
-rw-r--r--src/card.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/card.c b/src/card.c
index 73808a4..25db247 100644
--- a/src/card.c
+++ b/src/card.c
@@ -4,6 +4,7 @@
uint32_t card_get_points(const card c)
{
assert(c > 0 && c <= 105);
+
if (55 == c) return 7; // Card 55 is worth of 7 points
if (c % 11 == 0) return 5; // Cards that are multiples of 11 are worth 5 points
if (c % 10 == 0) return 3; // ... 10 are worth 3 points