コード例 #1
0
 def print_hand(self):
     print(self.name)
     print_cards(self.hand)
コード例 #2
0
 def show_all(self):
     print_cards(self.cards)
コード例 #3
0
 def set_hand(self, hand):
     print(self.name)
     print_cards(hand)
     self.hand = hand
     self.current_state = self.get_state(np.zeros(shape=[5, 3])[0:0, :], 0)
コード例 #4
0
 def river(self):
     self.visible_table = self.table[0:5, :]
     print('River:')
     print_cards(self.visible_table[4:5, :])
コード例 #5
0
 def turn(self):
     self.visible_table = self.table[0:4, :]
     print('Turn:')
     print_cards(self.visible_table[3:4, :])
コード例 #6
0
 def flop(self):
     self.visible_table = self.table[0:3, :]
     print('Flop:')
     print_cards(self.visible_table)