Libsaki
Core library of Pancake Mahjong
form_ctx.h
1 #ifndef SAKI_FORM_CTX_H
2 #define SAKI_FORM_CTX_H
3 
4 
5 
6 namespace saki
7 {
8 
9 
10 
11 struct FormCtx
12 {
13  bool ippatsu = false;
14  bool bless = false;
15  bool duringKan = false;
16  bool emptyMount = false;
17  int riichi = 0;
18  int roundWind = 0; // not any wind
19  int selfWind = 0; // not any wind
20  int extraRound = 0;
21 };
22 
23 
24 
25 } // namespace saki
26 
27 
28 
29 #endif // SAKI_FORM_CTX_H
Definition: form_ctx.h:11
Definition: ai.cpp:18