v0.5.2
Changed
- Allow
numbers.Number
likedecimal.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
, andpokerkit.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.