Libsaki
Core library of Pancake Mahjong
rule.h
1 #ifndef SAKI_RULE_H
2 #define SAKI_RULE_H
3 
4 #include "tile_count.h"
5 
6 
7 
8 namespace saki
9 {
10 
11 
12 
13 struct Rule
14 {
15  // *** SYNC with json converting (create + read) ***
16  bool fly = true;
17  bool headJump = true;
18  bool nagashimangan = true;
19  bool ippatsu = true;
20  bool uradora = true;
21  bool kandora = true;
22  bool daiminkanPao = true;
23  TileCount::AkadoraCount akadora = TileCount::AKADORA4;
24  int hill = 20000;
25  int returnLevel = 30000;
26  int roundLimit = 8;
27 };
28 
29 
30 
31 } // namespace saki
32 
33 
34 
35 #endif // SAKI_RULE_H
Definition: rule.h:13
Definition: ai.cpp:18