diff options
Diffstat (limited to 'src/common.h')
| -rw-r--r-- | src/common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h new file mode 100644 index 0000000..13fcf7c --- /dev/null +++ b/src/common.h @@ -0,0 +1,10 @@ +#define MAX_CARDSTACK_SIZE 5 +#define MAX_CARDHAND_SIZE 10 + +typedef char card; +typedef card cardstack[5]; +typedef card hand[10]; + +int cardpoints(card c); +int stackpoints(cardstack s); + |
