Skip to main content

Poker

enfor
Spade, Pique, Pikes♠️, 黑桃
Hearts♥️, 红桃,红心
Diamond, Carreaux, Tiles♦️, 方块
Clubs, Trefoil, Clover♣️, 梅花, 三叶草, 法语 Trèfle
JackJ, 侍从
QueenQ, 王后
KingK, 国王
AceA, A牌
Joker
Black/Little Joker小王
Red/Big Joker大王
Wild Card百搭牌, 替用牌

Labels

['A', 2, 3, 4, 5, 6, 7, 8, 9, 10, 'J', 'Q', 'K'].flatMap((v) => ['S', 'H', 'D', 'C'].map((s) => v + s)).join('\n');
// 有些 label 会做 sort
['A', 2, 3, 4, 5, 6, 7, 8, 9, 10, 'J', 'Q', 'K']
.flatMap((v) => ['S', 'H', 'D', 'C'].map((s) => v + s))
.sort()
.join('\n');

['A', 2, 3, 4, 5, 6, 7, 8, 9, 10, 'J', 'Q', 'K']
.flatMap((v) => ['S', 'H', 'D', 'C'].map((s) => v + s))
.sort()
.map((v) => ({ name: v, type: 'any', attributes: [] }));

let base = ['A', 2, 3, 4, 5, 6, 7, 8, 9, 10, 'J', 'Q', 'K']
.flatMap((v) => ['S', 'H', 'D', 'C'].map((s) => v + s))
.sort();
base.unshift('Front', 'Back'); // 正面背面
base.push('RedJoker', 'BlackJoker'); // 如果需要 Joker, 可能还存在 替用牌, Wild Card
base.unshift('Card'); // 如果只需要识别牌
base.map((v) => ({ name: v, type: 'any', attributes: [] }));

/* CVAT
[
{
"name": "10C",
"type": "any",
"color": "#ff007c",
"attributes": [{
"name": "a",
"input_type": "radio",
"mutable": true,
"values": [
"b"
],
"default_value": "b"
}]
}
]
*/

BAC

English Label中文标签
Shuffling洗牌
Cutting切牌
Burning Cards烧牌
Dealing Cards发牌
Player Betting玩家下注
Revealing Player Cards揭示玩家牌
Revealing Banker Cards揭示庄家牌
Calculating Results计算结果
Collecting and Paying Chips收集和支付筹码
Idle State空闲状态
Dealing
PlayerBetting
RevealingBankerCards
RevealingPlayerCards
CalculatingResults
CollectingAndPayingChips
IdleState
Shuffling
Cutting
Burning