blob: f922ccf45a5c7d9bfab0521cf04bbb71b956eee9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef OXEN_HAND_H
#define OXEN_HAND_H
#include "card.h"
#define MAX_HAND_CARDS 10
typedef struct
{
card cards[MAX_HAND_CARDS];
} hand_t;
void hand_sort(hand_t *h);
void hand_remove_card(hand_t *h, const uint8_t card_index);
const uint8_t hand_count_cards(const hand_t* h);
#endif // OXEN_HAND_H
|