Skip to content

v0.5.2

Compare
Choose a tag to compare
@AussieSeaweed AussieSeaweed released this 14 Jun 09:19
· 12 commits to main since this release

Changed

  • Allow numbers.Number like decimal.Decimal to be used as chip values. While documented as allowed, usage of non-int or non-float used to result in error.
  • The main pot is pushed first, followed by side pots (reverse was true previously).
  • Chips pushing operation is more fine-grained in that each operation pushes a portion of the main/side pot should there be multiple boards or hand types.
  • Removed pokerkit.state.ChipsPushing.raked_amount attribute.
  • Removed pokerkit.state.ChipsPushing.unraked_amount property.

Added

  • Added pokerkit.state.ChipsPushing.pot_index, pokerkit.state.ChipsPushing.board_index, and pokerkit.state.ChipsPushing.hand_type_index attributes to provide information on what portion of the pot was pushed.
  • Added ICM calculation pokerkit.analysis.calculate_icm function.