牌值修改 黑桃3 牌值分 0

This commit is contained in:
by 2025-02-12 14:35:28 +08:00
parent 4acd1844c9
commit 2dd26e4a9c
5 changed files with 8 additions and 7 deletions

Binary file not shown.

View File

@ -1,8 +1,8 @@
6ж├в├с├т├у├"║█ю└=
.з├ш├ьы"║█ю└=
Wз├с├у├ь├ы├ш├т├ж├в" ║█─╜Б
]ы├з├э├т├у├в├ш├с├ж├ь"╒█Т
6с├т├уж├в"║█ю└=
.ы├з├ш├ь├"║█ю└=
Wз├с├в├ь├ы├ш├т├у├ж" ║█─╜Б
]ж├в├ь├ы├з├ш├с├т├у├э"╒█Т
à†"¸(
à†
"¢<>(

Binary file not shown.

View File

@ -523,8 +523,10 @@ func DelCards(cards []int32, delCards map[int32][]int32) []int32 {
func GetCardTypeScore(cardsType map[int]map[int32][]int32, isYuLe bool, cards []int32) (int, int) {
//计算每张牌的牌值
cardValues := []int{
-120, -100, -80, -60, -40, -20, 0, 20, 50, 90, 140, 200, 300,
-115, -95, -75, -55, -35, -15, 5, 25, 55, 95, 145, 205, 325, -110, -90, -70, -50, -30, -10, 10, 30, 60, 100, 150, 210, 350, -105, -85, -65, -45, -25, -5, 15, 35, 65, 105, 155, 215, 400,
-0, -100, -80, -60, -40, -20, 0, 20, 50, 90, 140, 200, 300,
-115, -95, -75, -55, -35, -15, 5, 25, 55, 95, 145, 205, 325,
-110, -90, -70, -50, -30, -10, 10, 30, 60, 100, 150, 210, 350,
-105, -85, -65, -45, -25, -5, 15, 35, 65, 105, 155, 215, 400,
}
//logger.Logger.Trace("计算牌型分 cardsType = ", cardsType)
//计算牌型分值

1
go.mod
View File

@ -94,7 +94,6 @@ require (
github.com/xdg-go/scram v1.1.2 // indirect
github.com/xdg-go/stringprep v1.0.4 // indirect
github.com/xtaci/kcp-go v5.4.20+incompatible // indirect
github.com/xtaci/lossyconn v0.0.0-20200209145036-adba10fffc37 // indirect
github.com/xuri/efp v0.0.0-20241211021726-c4e992084aa6 // indirect
github.com/xuri/nfp v0.0.0-20240318013403-ab9948c2c4a7 // indirect
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect