From a2d696dea797faaa3157046c8ae89cd70e965bff Mon Sep 17 00:00:00 2001 From: scratko Date: Sat, 10 Aug 2024 02:46:56 +0300 Subject: Prefinal version Added client. Moved files to directories. --- client/card_handling.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 client/card_handling.h (limited to 'client/card_handling.h') diff --git a/client/card_handling.h b/client/card_handling.h new file mode 100644 index 0000000..8dcb072 --- /dev/null +++ b/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 -- cgit v1.2.3