cli-casino/include/carte.hpp

35 lines
287 B
C++
Raw Normal View History

2023-08-05 19:33:43 +02:00
#ifndef CARTE_HPP
#define CARTE_HPP
enum VCarte{
II = 2,
III,
IV,
V,
VI,
VII,
VIII,
IX,
T,
J,
Q,
K,
A,
};
enum CCarte{
2023-08-14 13:12:08 +02:00
PIC = 1,
2023-08-05 19:33:43 +02:00
CARREAU,
COEUR,
TREFLE,
};
struct carte{
VCarte valeur;
CCarte couleur;
2023-08-15 16:25:28 +02:00
};
static carte CARTERETOURNE = {VCarte(0), CCarte(0)};
2023-08-05 19:33:43 +02:00
#endif