Skip to content

Commit

Permalink
☠️ Fix fatal error, update to 2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Skripkon committed Jan 6, 2025
1 parent d1b0065 commit 69a05a7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Empty file added PokerBots/game/__init__.py
Empty file.
Empty file added PokerBots/players/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ from pokerkit import State

class MyOwnBot(BasePlayer):

def play(self, valid_actions: dict, state: State) -> tuple[str, float]:
def play(self, valid_actions: dict[str], state: State) -> tuple[str, float]:
"""
Implement a strategy to choose an action.
"""
pass
```

> [!NOTE]
> [!NOTE]
> ```valid_actions``` is a dictionary. Keys represent valid actions, and values represent the valid amount of chips. If all actions are valid, it will look like this:
```python
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# Name of the package
name='PokerBots',
packages=find_packages('.'),
version='2.0.3',
version='2.0.6',
license='MIT',
description='A Pure Python library to test your Poker Bots in a trivial and simple way.',
long_description=long_description,
Expand Down

0 comments on commit 69a05a7

Please sign in to comment.