C# 클래스 holdem_engine.HandServer

Plays a hand of poker between a list of players. Designed to be restorable, non-blocking, and for use by web servers. Author: Wesley Tansey
파일 보기 프로젝트 열기: tansey/holdem_engine 1 사용 예제들

공개 메소드들

메소드 설명
DealFlop ( ) : void
DealHoleCards ( ) : void

Deals out all of the players' hole cards.

DealRiver ( ) : void
DealTurn ( ) : void
HandServer ( ) : System
Resume ( PokerHandHistory.PokerHand savedHand, CachedHand cache ) : HandHistory
Validate ( Action nextAction ) : Action

비공개 메소드들

메소드 설명
AddAction ( int pIdx, Action action, List curRoundActions ) : void
GetFirstToAct ( bool preflop ) : int
payWinners ( ) : void
restoreBets ( PokerHandHistory savedActions, List curRoundActions ) : bool
restoreBlinds ( PokerHandHistory.PokerHand savedHand ) : bool

메소드 상세

DealFlop() 공개 메소드

public DealFlop ( ) : void
리턴 void

DealHoleCards() 공개 메소드

Deals out all of the players' hole cards.
public DealHoleCards ( ) : void
리턴 void

DealRiver() 공개 메소드

public DealRiver ( ) : void
리턴 void

DealTurn() 공개 메소드

public DealTurn ( ) : void
리턴 void

HandServer() 공개 메소드

public HandServer ( ) : System
리턴 System

Resume() 공개 메소드

public Resume ( PokerHandHistory.PokerHand savedHand, CachedHand cache ) : HandHistory
savedHand PokerHandHistory.PokerHand
cache CachedHand
리턴 HandHistory

Validate() 공개 메소드

public Validate ( Action nextAction ) : Action
nextAction Action
리턴 Action