blackjack_task_dealer_bust_rate

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 12 Imported by: 0

README

Blackjack,4副牌[4*52=208张],dealer明牌为♦A,总运行次数10w次

dealer停牌时点数出现次数百分比爆牌率
171294812.95%
181304113.04%
191302613.03%
201317213.17%
213628036.28%
2231973.20%11.53%
2327652.77%
2422372.24%
2518391.84%
2614951.49%

Blackjack,4副牌[4*52=208张],dealer明牌为♦2,总运行次数10w次

dealer停牌时点数出现次数百分比爆牌率
171410114.10%
181356013.56%
191284412.84%
201237612.38%
211175811.76%
221504515.04%35.36%
2362576.26%
2453535.35%
2548204.82%
2638863.89%

Blackjack,4副牌[4*52=208张],dealer明牌为♦3,总运行次数10w次

dealer停牌时点数出现次数百分比爆牌率
171347513.48%
181279512.80%
191262612.63%
201218512.19%
211158111.58%
2296169.62%37.34%
231430114.30%
2452775.28%
2545504.55%
2635943.59%

Blackjack,4副牌[4*52=208张],dealer明牌为♦4,总运行次数10w次

dealer停牌时点数出现次数百分比爆牌率
171316913.17%
181255812.56%
191210512.11%
201161011.61%
211093410.93%
2295409.54%39.62%
2387708.77%
241324613.25%
2544294.43%
2636393.64%

Blackjack,4副牌[4*52=208张],dealer明牌为♦5,总运行次数10w次

dealer停牌时点数出现次数百分比爆牌率
171235112.35%
181216412.16%
191169411.69%
201131111.31%
211088410.88%
2294359.44%41.60%
2384708.47%
2477557.75%
251236112.36%
2635753.57%

Blackjack,4副牌[4*52=208张],dealer明牌为♦6,总运行次数10w次

dealer停牌时点数出现次数百分比爆牌率
171636716.37%
181067310.67%
191062410.62%
201022910.23%
2195669.57%
2287918.79%42.54%
2381278.13%
2474817.48%
2567586.76%
261138411.38%

Blackjack,4副牌[4*52=208张],dealer明牌为♦7,总运行次数10w次

dealer停牌时点数出现次数百分比爆牌率
173680636.81%
181398913.99%
1978877.89%
2076807.68%
2173967.40%
2263456.35%26.24%
2359365.94%
2453175.32%
2546454.64%
2639994.00%

Blackjack,4副牌[4*52=208张],dealer明牌为♦8,总运行次数10w次

dealer停牌时点数出现次数百分比爆牌率
171303713.04%
183601836.02%
191271912.72%
2069356.93%
2168826.88%
2258995.90%24.41%
2355975.60%
2449504.95%
2542824.28%
2636813.68%

Blackjack,4副牌[4*52=208张],dealer明牌为♦9,总运行次数10w次

dealer停牌时点数出现次数百分比爆牌率
171220512.21%
181202012.02%
193504935.05%
201190711.91%
2159945.99%
2255775.58%22.82%
2352105.21%
2446904.69%
2540084.01%
2633403.34%

Blackjack,4副牌[4*52=208张],dealer明牌为♦T,总运行次数10w次

dealer停牌时点数出现次数百分比爆牌率
171133511.34%
181106211.06%
191112111.12%
203421834.22%
211112211.12%
2251475.15%21.14%
2347604.76%
2442364.24%
2538413.84%
2631583.16%

Blackjack,4副牌[4*52=208张],dealer明牌为♦J,总运行次数10w次

dealer停牌时点数出现次数百分比爆牌率
171119911.20%
181103711.04%
191107311.07%
203423334.23%
211118711.19%
2252465.25%21.27%
2348344.83%
2442604.26%
2537883.79%
2631433.14%

Blackjack,4副牌[4*52=208张],dealer明牌为♦Q,总运行次数10w次

dealer停牌时点数出现次数百分比爆牌率
171120011.20%
181106811.07%
191104511.04%
203423034.23%
211110411.10%
2252245.22%21.35%
2348394.84%
2442664.27%
2538303.83%
2631943.19%

Blackjack,4副牌[4*52=208张],dealer明牌为♦K,总运行次数10w次

dealer停牌时点数出现次数百分比爆牌率
171120811.21%
181105911.06%
191116711.17%
203433734.34%
211099110.99%
2252785.28%21.24%
2348004.80%
2442074.21%
2538473.85%
2631063.11%

Documentation

Overview

功能:blackjack任务-dealer爆牌率 说明:流程控制

功能:blackjack任务-dealer爆牌率 说明:

功能:blackjack任务-dealer爆牌率 说明:点数次数map

功能:blackjack任务-dealer爆牌率 说明:每靴牌统计

功能:blackjack任务-dealer爆牌率 说明:

Index

Constants

View Source
const (
	GO_ROUTINE_CNT = 10    //goroutine个数
	LOOP_TIMES     = 10000 //每个goroutine循环次数

)
View Source
const (
	TASK_TAG = "blackjack_task_dealer_bust_rate" //任务名称
)

Variables

View Source
var (
	Point_times_map = make(map[int]int, 0) //key为点数,value为次数
)

Functions

func Init_point_times_map

func Init_point_times_map()

初始化

func Outputer_point_times_map

func Outputer_point_times_map()

输出

func Start

func Start()

开启

func Start_ex

func Start_ex()

Types

type FlowControl

type FlowControl struct {
	// contains filtered or unexported fields
}

func NewFlowControl

func NewFlowControl() *FlowControl

func (*FlowControl) Check_blackjack

func (f *FlowControl) Check_blackjack() error

Check_blackjack 校验blackjack牌型

func (*FlowControl) Deal_1_card

func (f *FlowControl) Deal_1_card() byte

Deal_1_card 发一张牌

func (*FlowControl) Deal_times

func (f *FlowControl) Deal_times() int

Deal_times 发牌次数

func (*FlowControl) Dealer_turn

func (f *FlowControl) Dealer_turn() error

Dealer_turn 庄家操作

func (*FlowControl) Extract_shoe_stat

func (f *FlowControl) Extract_shoe_stat() *ShoeStat

Extract_shoe_stat 提取每靴牌的统计

func (*FlowControl) Is_valid_shoe_cards

func (f *FlowControl) Is_valid_shoe_cards() bool

Is_valid_shoe_cards 剩下的shoe牌是否有效

func (*FlowControl) Round_begin_to_deal

func (f *FlowControl) Round_begin_to_deal(show_card byte) error

Round_begin_to_deal 发牌

func (*FlowControl) Shuffle

func (f *FlowControl) Shuffle()

Shuffle 洗牌

type ShoeStat

type ShoeStat struct {
	// contains filtered or unexported fields
}

每靴牌统计

func (*ShoeStat) String

func (s *ShoeStat) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL