This commit is contained in:
2025-12-01 17:57:44 +08:00
parent 547118ec6d
commit 8e4be3bda2
3 changed files with 82 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ class KuhnPoker:
self.cards = ['J', 'Q', 'K']
self.actions = [0, 1] # Check/Fold=0, Bet/Call=1
# 结构是不是要修改下?
def is_terminal(self, history):
return history in ['00', '10', '010', '011', '11']