1515 [
1616 # This sequence of plays is winning for the first round
1717 # for the seed "EXAMPLE" and the deck "Red Deck" with stake 1.
18- {"action" : Actions .DISCARD_HAND , "args" : [2 , 3 , 4 , 6 ]},
19- {"action" : Actions .DISCARD_HAND , "args" : [1 , 2 , 6 , 8 ]},
20- {"action" : Actions .PLAY_HAND , "args" : [2 , 3 , 5 , 6 , 7 ]},
21- {"action" : Actions .PLAY_HAND , "args" : [3 , 4 , 7 , 8 ]},
18+ {"action" : Actions .DISCARD_HAND , "args" : [[ 2 , 3 , 4 , 6 ] ]},
19+ {"action" : Actions .DISCARD_HAND , "args" : [[ 1 , 2 , 6 , 8 ] ]},
20+ {"action" : Actions .PLAY_HAND , "args" : [[ 2 , 3 , 5 , 6 , 7 ] ]},
21+ {"action" : Actions .PLAY_HAND , "args" : [[ 3 , 4 , 7 , 8 ] ]},
2222 ]
2323)
2424
@@ -103,7 +103,7 @@ def sell_jokers(self, env: dict[str, Any]) -> ActionSchema:
103103 Returns:
104104 ActionCall: Action to sell jokers with empty list.
105105 """
106- return {"action" : Actions .SELL_JOKER , "args" : []}
106+ return {"action" : Actions .SELL_JOKER , "args" : [[] ]}
107107
108108 def rearrange_jokers (self , env : dict [str , Any ]) -> ActionSchema :
109109 """Don't rearrange jokers.
@@ -114,7 +114,7 @@ def rearrange_jokers(self, env: dict[str, Any]) -> ActionSchema:
114114 Returns:
115115 ActionCall: Action to rearrange jokers with empty list.
116116 """
117- return {"action" : Actions .REARRANGE_JOKERS , "args" : []}
117+ return {"action" : Actions .REARRANGE_JOKERS , "args" : [[] ]}
118118
119119 def use_or_sell_consumables (self , env : dict [str , Any ]) -> ActionSchema :
120120 """Don't use consumables.
@@ -125,7 +125,7 @@ def use_or_sell_consumables(self, env: dict[str, Any]) -> ActionSchema:
125125 Returns:
126126 ActionCall: Action to use consumables with empty list.
127127 """
128- return {"action" : Actions .USE_CONSUMABLE , "args" : []}
128+ return {"action" : Actions .USE_CONSUMABLE , "args" : [[] ]}
129129
130130 def rearrange_consumables (self , env : dict [str , Any ]) -> ActionSchema :
131131 """Don't rearrange consumables.
@@ -136,7 +136,7 @@ def rearrange_consumables(self, env: dict[str, Any]) -> ActionSchema:
136136 Returns:
137137 ActionCall: Action to rearrange consumables with empty list.
138138 """
139- return {"action" : Actions .REARRANGE_CONSUMABLES , "args" : []}
139+ return {"action" : Actions .REARRANGE_CONSUMABLES , "args" : [[] ]}
140140
141141 def rearrange_hand (self , env : dict [str , Any ]) -> ActionSchema :
142142 """Don't rearrange hand.
@@ -147,7 +147,7 @@ def rearrange_hand(self, env: dict[str, Any]) -> ActionSchema:
147147 Returns:
148148 ActionCall: Action to rearrange hand with empty list.
149149 """
150- return {"action" : Actions .REARRANGE_HAND , "args" : []}
150+ return {"action" : Actions .REARRANGE_HAND , "args" : [[] ]}
151151
152152
153153def main () -> None :
@@ -165,7 +165,7 @@ def main() -> None:
165165 # Configure logging with the specified level
166166 configure_bot_logging (args .log )
167167
168- bot = ExampleBot ()
168+ bot = ExampleBot (deck = Decks . BLUE , stake = Stakes . WHITE , seed = "EXAMPLE" )
169169 bot .running = True
170170 bot .run ()
171171
0 commit comments