Git Product home page Git Product logo

half-past-ten-game's Introduction

十点半

十点半是扑克游戏的一种。 经常被用来赌博。

玩法如下:

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

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

请按此规则实现一个简单的应用。语言不限。对界面不做要求。

在线试玩

请访问 poker.laudukang.me

游戏允许多玩家(后端暂定最大玩家4人),各个玩家的操作界面为同一浏览器窗口,假设每玩家轮流操控鼠标进行游戏,当前玩家看不到其他玩家的底牌及总点数等,每玩家点击结束回合切换到下一玩家操作,庄家点击结束回合执行结束当前局并显示最终游戏结果。

half-past-ten-game's People

Contributors

laudukang 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.