Simple Poker Template 0.0.1
Loading...
Searching...
No Matches
SimplePoker.Logic.Tiebreaker Class Reference

Manages tiebreakers in a poker game, determining the winners in case of tied hands or kickers. More...

Public Member Functions

List< PlayerBasePokerHandsTiebreaker (List< PlayerBase > players, HAND hand)
 Determines the winners in case of a tie based on the type of hand.
 
List< PlayerBasePokerKickersTiebreaker (List< PlayerBase > tiedPlayers)
 Determines the winners in case of a tie based on the kickers.
 

Detailed Description

Manages tiebreakers in a poker game, determining the winners in case of tied hands or kickers.

Member Function Documentation

◆ PokerHandsTiebreaker()

List< PlayerBase > SimplePoker.Logic.Tiebreaker.PokerHandsTiebreaker ( List< PlayerBase > players,
HAND hand )

Determines the winners in case of a tie based on the type of hand.

Parameters
playersThe list of tied players.
handThe type of hand for which tiebreaking is required.
Returns
The list of winners after tiebreaking.

◆ PokerKickersTiebreaker()

List< PlayerBase > SimplePoker.Logic.Tiebreaker.PokerKickersTiebreaker ( List< PlayerBase > tiedPlayers)

Determines the winners in case of a tie based on the kickers.

Parameters
tiedPlayersThe list of tied players.
Returns
The list of winners after tiebreaking.

The documentation for this class was generated from the following file: