CruceGame  v0.4.0
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
Macros | Enumerations | Variables
constants.h File Reference

Contains definitions of various symbolic constants. More...

Go to the source code of this file.

Macros

#define MAX_CARDS   8
 The maximum number of cards in a player's hand.
 
#define MAX_TEAM_PLAYERS   2
 The maximum number of players in a team.
 
#define DECK_SIZE   24
 Deck size.
 
#define SWAP_MIN   100
 Minimum number of swaps performed by deckShuffle.
 
#define SWAP_MAX   200
 Maximum number of swaps performed by deckSuffle.
 
#define MAX_HANDS   13
 Maximum number of hands in a round.
 
#define MAX_GAME_PLAYERS   4
 Maximum number of players in a game.
 
#define MAX_GAME_TEAMS   4
 Maximum number of teams in a game.
 

Enumerations

enum  Suit {
  DIAMONDS = 0, CLUBS, SPADES, HEARTS,
  SuitEnd
}
 Constants for suit. More...
 

Variables

const int VALUES [7]
 Game values for cards. More...
 

Detailed Description

Contains definitions of various symbolic constants.

Enumeration Type Documentation

enum Suit

Constants for suit.

SuitEnd is a flag used when iterating.

Variable Documentation

const int VALUES[7]

Game values for cards.

-1 is a flag used when iterating.

Constants for game values