-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrule_shortdeck_simple.yaml
91 lines (84 loc) · 2.18 KB
/
rule_shortdeck_simple.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
deck:
type: texas.card_constructor.CartesianConstructor
kwargs:
rank: ['A', 'K', 'Q', 'J', 'T', '9', '8', '7', '6']
suit: ['h', 's', 'd', 'c']
card_sampler:
dependence: [deck]
type: texas.card_sampler.RandomCardSampler
kwargs:
compairer:
dependence: [deck]
type: Dic5Compairer
kwargs:
dicfile: ./src/test/resources/compairer/card5_dic_sorted_shortdeck.txt
lines: 376993
rule:
type: texas.rules_builder.FiveCardRulesBuilder
kwargs:
rule:
current_player: 1
current_round: 4
current_commit:
- 2
- 2
rounds: 4
rounds_cards:
- 0
- 3
- 1
- 1
deal_card_number: 2
players: 2
raise_limit: 3
check_limit: 2
amounts:
small_blind: 0.5
big_blind: 1
max_chip: 10
stack: 100
bet_sizes:
- 0.5_pot
- 1_pot
- 2_pot
- all-in
actions:
- begin
- bet
- check
- call
- raise
- fold
legal_actions_after:
begin:
- call
- raise
- fold
roundbegin:
- check
- bet
bet:
- call
- raise
- fold
raise:
- call
- raise
- fold
check:
- check
- raise
- bet
fold:
call:
- check
- raise
tree_builder:
dependence: [rule]
type: texas.tree_builder.PartGameTreeBuilder
kwargs:
json_file: ./src/test/resources/gametree/simple_part_tree_depthinf.km
solver:
type: cfrplus
kwargs:
json_file: whatever