CruceGame  v0.4.0
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
constants.h
Go to the documentation of this file.
1 
6 #ifndef CONSTANTS_H
7 #define CONSTANTS_H
8 
12 #define MAX_CARDS 8
13 
17 #define MAX_TEAM_PLAYERS 2
18 
22 #define DECK_SIZE 24
23 
27 #define SWAP_MIN 100
28 
32 #define SWAP_MAX 200
33 
37 #define MAX_HANDS 13
38 
42 #define MAX_GAME_PLAYERS 4
43 
47 #define MAX_GAME_TEAMS 4
48 
54 enum Suit {DIAMONDS = 0, CLUBS, SPADES, HEARTS, SuitEnd};
55 
56 #ifdef __cplusplus
57 extern "C" {
58 #endif
59 
65 extern const int VALUES[7];
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 
71 #endif
72 
const int VALUES[7]
Game values for cards.
Definition: deck.c:21
Suit
Constants for suit.
Definition: constants.h:54