GithubHelp home page GithubHelp logo

poker-ten-thrity's Introduction

#poker-ten-thrity

十点半是扑克游戏的一种。 经常被用来赌博。玩法如下:

其中一人为庄家 派牌前,各闲家向庄家下注。 每人获派一张牌。 闲家打开牌,庄家轮流问各闲家是否“要”加牌。 A,2,3,4,5,6,7,8,9,10 分别为一至十点。J,Q,K为半点。 闲家可以一路加牌,但若超过十点半,即“爆煲”(Busted),输给庄家。 闲家倘若为一只10加一只 J,Q或K 成十点半,庄家立赔。 若果闲家共有五张牌而仍未“爆煲”,称“五龙”,庄家立赔。 庄家和闲家都10点半闲家要赔

最后庄家派牌给自己。 倘若庄家爆煲,只需赔给仍未爆的闲家。 倘若庄家没有爆煲,跟闲家比点数。倘若点数相同,庄家胜,称“食夹棍”。

测试数据: 存在4位玩家:甲乙丙丁。选甲为庄家,乙、丙、丁为闲家。 游戏开始,发牌,4位玩家分别得到牌:甲 —> 3,乙—> 8,丙 —> 8, 丁 —> K 要牌顺序:乙、丙、丁、甲 乙:决定不要牌,总点数:8 丙:要牌,得到 5,最后总点数为13,爆煲 丁:要牌,得到3,再要牌得到5,再要牌得到2,停牌,总点数:10.5 甲:要牌,得到7,停牌,总点数:10

最最后: 甲对乙:甲赢 甲对丙:甲赢 甲对丁:丁赢

poker-ten-thrity's People

Contributors

jeremieastray avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.