by admin

Poker 规则

Blackjack 规则
  1. Poker 规则 Real Money
  2. Poker 规则 Card Game
  3. Poker 规则 Vegas World

题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1111

德州扑克Texas Hold’em poker玩法规则细则详解. 德州扑克全称为Texas Hold’em poker,中文简称为德州扑克。. 1、一副完整的Poker 花色大小规则为常规的黑红方梅 2、一个自动发牌的桌子 桌子具有记录出牌的功能,和Windows里面红心大战类似,二者比较,大的出牌 3、两种出牌方式的机器: 田忌:类似于田忌.

Poker 规则 Real Money

A poker hand consists of 5 cards dealt from the deck. Poker hands are ranked by the following partial order from lowest to highest

  • High Card. Hands which do not fit any higher category are ranked by the value of their highest card. If the highest cards have the same value, the hands are ranked by the next highest, and so on.
  • Pair. 2 of the 5 cards in the hand have the same value. Hands which both contain a pair are ranked by the value of the cards forming the pair. If these values are the same, the hands are ranked by the values of the cards not forming the pair, in decreasing order.
  • Two Pairs. The hand contains 2 different pairs. Hands which both contain 2 pairs are ranked by the value of their highest pair. Hands with the same highest pair are ranked by the value of their other pair. If these values are the same the hands are ranked by the value of the remaining card.
  • Three of a Kind. Three of the cards in the hand have the same value. Hands which both contain three of a kind are ranked by the value of the 3 cards.
  • Straight. Hand contains 5 cards with consecutive values. Hands which both contain a straight are ranked by their highest card.
  • Flush. Hand contains 5 cards of the same suit. Hands which are both flushes are ranked using the rules for High Card.
  • Full House. 3 cards of the same value, with the remaining 2 cards forming a pair. Ranked by the value of the 3 cards.
  • Four of a kind. 4 cards with the same value. Ranked by the value of the 4 cards.
  • Straight flush. 5 cards of the same suit with consecutive values. Ranked by the highest card in the hand.

Your job is to compare several pairs of poker hands and to indicate which, if either, has a higher rank.

题意:两手扑克牌,一手各5张牌,按照接下来的规则比大小。下面的规则是按照一手牌从大到小介绍的。

规则一:5张牌花色一样,大小连着的,俗称“同花顺”。同花顺的大小根据最大值的判断。

规则二:有4张牌一样大的。就是说5张牌中能组成炸弹。这样的牌通过那4张牌的大小再来进行比较大小。比如(A,3,3,3,3)和(9,4,4,4,4)就是后者大。

规则三:3张牌一样大,另外两张牌组成一对。满足规则三的两手牌根据那3张牌再进行大小比较。

规则四:5张牌同色,大小比较就看牌的大小了。

规则五:5张牌大小连着组成了顺子,大小看最大值。

规则六:3张牌相同,大小看3张牌的值的大小。

Poker规则Poker

规则七:组成两对和一张单牌,大小看那两对的大小,如果还相同的就看那单牌。

Tournaments

规则八:组成一队,大小先看这一对,然后再比较剩下的三张散牌。

规则九:5张牌没什么组合的,散牌,就单纯的比较大小。

Poker 规则 Card Game

解法:按照这几个规则模拟即可。

Poker 规则

Poker 规则 Vegas World

posted @ 2014-09-28 21:28huangxf 阅读(295) 评论(0) 编辑收藏