Skip to content

Commit

Permalink
0.5 hf1 backport to 0.6 (#78)
Browse files Browse the repository at this point in the history
* Fix error message typo
  • Loading branch information
SirRender00 authored Apr 8, 2022
1 parent ede5870 commit fa814ee
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
!tests/pgns/*/*.pgn
!docs/*.pgn

# Misc
.DS_Store

# lock files
*.lock

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# texasholdem
A python package for Texas Hold 'Em Poker.

Latest Stable Release Version: v0.6.0 \
[Changelog](https://github.com/SirRender00/texasholdem/releases/tag/v0.6.0) \
Latest Stable Release Version: v0.6.1 \
[Changelog](https://github.com/SirRender00/texasholdem/releases/tag/v0.6.1) \
[Documentation](https://texasholdem.readthedocs.io/en/stable/)

Latest Experimental Release Version v0.6.0 \
[Changelog](https://github.com/SirRender00/texasholdem/releases/tag/v0.6.0) \
Latest Experimental Release Version v0.6.1 \
[Changelog](https://github.com/SirRender00/texasholdem/releases/tag/v0.6.1) \
[Documentation](https://texasholdem.readthedocs.io/en/latest/)

Roadmap \
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
author = 'Evyn Machi'

# The full version, including alpha/beta/rc tags
release = 'v0.6.0'
release = 'v0.6.1'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "texasholdem"
version = "0.6.0"
version = "0.6.1"
description = "A texasholdem python package"
authors = ["Evyn Machi <[email protected]>"]
keywords = ['texasholdem', 'holdem', 'poker']
Expand Down
2 changes: 1 addition & 1 deletion texasholdem/game/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ def validate_move(self,
if new_action == ActionType.CHECK and \
self.players[player_id].state != PlayerState.IN:
return False, \
f"Player {player_id} has state {self.players[player_id]} cannot CHECK"
f"Player {player_id} has state {self.players[player_id].state} cannot CHECK"

if new_action == ActionType.RAISE:
if new_total is None:
Expand Down

0 comments on commit fa814ee

Please sign in to comment.