back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/linux_client/card_handling.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux_client/card_handling.h')
-rw-r--r--linux_client/card_handling.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux_client/card_handling.h b/linux_client/card_handling.h
new file mode 100644
index 0000000..8dcb072
--- /dev/null
+++ b/linux_client/card_handling.h
@@ -0,0 +1,9 @@
+#ifndef CARD_HANDLING_H_SENTRY
+#define CARD_HANDLING_H_SENTRY
+
+int convert_rank_to_int(const char *card);
+int is_card_beaten(const char *attack_card, const char *defend_card,
+ const char *trump_suit);
+int check_matched_ranks(const char *attack_card, const char *not_defender_card);
+
+#endif