Documentation ¶
Overview ¶
功能:百家乐任务-统计庄家/闲家点数分布 说明:流程控制
功能:百家乐任务-统计庄家/闲家点数分布 说明:
功能:百家乐任务-统计庄家/闲家点数分布 说明:点数次数map
功能:百家乐任务-统计庄家/闲家点数分布 说明:
功能:百家乐任务-统计庄家/闲家点数分布 说明:
Index ¶
- Constants
- Variables
- func Init_point_times_map()
- func Outputer_point_times_map(Point_times_map map[int]int, title string)
- func Start()
- type FlowControl
- func (f *FlowControl) Check_natural() error
- func (f *FlowControl) Compare()
- func (f *FlowControl) Deal_1_card() byte
- func (f *FlowControl) Deal_times() int
- func (f *FlowControl) Dealer_turn() error
- func (f *FlowControl) Extract_shoe_stat() *ShoeStat
- func (f *FlowControl) Game_over()
- func (f *FlowControl) Is_valid_shoe_cards() bool
- func (f *FlowControl) Player_turn() error
- func (f *FlowControl) Round_begin_to_deal() error
- func (f *FlowControl) Round_end()
- func (f *FlowControl) Shuffle()
- type ShoeStat
Constants ¶
View Source
const ( TASK_TAG = "baccarat_task_points" //任务名称 DECKS = 8 //牌副数 )
View Source
const ( GO_ROUTINE_CNT = 1 //goroutine个数 LOOP_TIMES = 1 //每个goroutine循环次数 )
View Source
const (
PLAYER_INIT_CHIP = 10000
)
Variables ¶
Functions ¶
func Outputer_point_times_map ¶
输出
Types ¶
type FlowControl ¶
type FlowControl struct {
// contains filtered or unexported fields
}
func NewFlowControl ¶
func NewFlowControl() *FlowControl
func (*FlowControl) Extract_shoe_stat ¶
func (f *FlowControl) Extract_shoe_stat() *ShoeStat
提取每靴牌的统计
func (*FlowControl) Is_valid_shoe_cards ¶
func (f *FlowControl) Is_valid_shoe_cards() bool
剩下的shoe牌是否有效
Click to show internal directories.
Click to hide internal directories.