yoka韩旭吧 关注:9,073贴子:574,618
  • 3回复贴,共1

【学术帝】我来秀前几天说的那个论文了

取消只看楼主收藏回复

今天刚把论文交掉,于是来吧里发一下
论文题目是“math and card game”,其实说白了从头到尾只说了三国杀
由于周围的人完全不了解三国杀,所以论文内容极度入门低浅。真·大神请alt+f4
本帖性质属于“得瑟”范畴,吐槽的时候请不要打脸
以上


IP属地:上海1楼2013-05-21 12:58回复
    Introduction
    The focus of this topic is the card game called Three Kingdoms Kill (3KK for in short), which is a popular Chinese card game based on the Three Kingdoms period of China and the semi-fictional novel Romance of the Three Kingdoms (ROTK for in short). The rules of 3KK originally come from the Italian card game Bang!
    I am going to talk about the relationship between this game, 3KK, and mathematics. Whether people can use the science of probability and statistics to win the game?


    IP属地:上海本楼含有高级字体4楼2013-05-21 13:05
    收起回复
      2025-08-30 19:47:06
      广告
      不感兴趣
      开通SVIP免广告
      The benefit of each card
      In
      3KK, every card has its special use. Some of them can steal the hand from another
      character, while some can recover health points. The value of each card is also
      different. Therefore, we can classify the cards into “high value” and “low
      value”.
      If I measure the value
      of one card as 1 unit and the value of one health point as 2 units, I can
      measure the value of all the cards in the deck by number. (The rule “Health
      Point ratio to each card = 2 units to 1 unit” comes from Kayak, the original
      game designer)
      I list the value of
      most of the cards and show it below:
      Attack shift between 1 and 2
      Dodge 2+
      Peach 2
      Wine shift
      between 0 and 2
      Dismantle 1
      Steal 2
      Duel shift between -1 and 2
      Duress shift between 2 and 3
      Draw2 2
      Negate 1
      Blaze shift between 0 and 1
      Ration Depleted
      1.5
      In the list above, the
      cost of the card itself should also be subtracted. Therefore, I will subtract 1
      unit for each card. After that, I define the average value of each card that is
      equal to one unit or more than one unit as “high value”.
      The “dodge” card is an
      exception. Although the value of “dodge” is always higher than 1, because the
      card “dodge” cannot be played proactively, its real value is lower. Therefore,
      it is a low value card.
      The
      value of some other cards such as equipments is hard to calculate. The value of
      those cards depends on the situation. For example the armor cards have no value,
      but they have the ability to defend, they could be very important. Therefore,
      they can be high value cards. Acedias and +1horses cards could also vary in value.
      As a result, the entire deck of the 160 cards is as follows:
      High
      value cards: 12+5+2+4+3+6+4=36
      The
      percentage of high value cards in a deck is: 36/160 = 0.225 = 22.5%
      An
      equation shows the odds:
      1/X
      = 22.5/100
      X
      = 4.45
      This
      data means the player could get one high value card from each 4.45 drawing;
      which also means if a character can additionally draw 4.45 cards, he/she can on
      average get one high value card. I will talk about that in the latter paragraph.
      The prediction of
      drawing
      According
      to the rules of the game, each character can draw two cards from the deck each
      round. Nevertheless, because of the high value cards, the value will be higher
      than 2. Therefore, I will calculate the average of each draw.
      To
      simplify the procedure, I assume the deck is infinite and define the benefit of
      all the low value cards as 1 unit and the benefit of all the high value cards
      as 2 units. According to the calculation above, the chance of drawing a high
      value card is 22.5%. Also, there are two cards drawn in a round. Therefore, I
      get the relationship below:
      total income
      first card
      second card
      percentage
      2 units
      1 units
      1 units
      p1*p1
      0.600625
      3 units
      1 units
      2 units
      p1*p2
      0.174375
      3 units
      2 units
      1 units
      p2*p1
      0.174375
      4 units
      2 units
      2 units
      p2*p2
      0.050625
      p1 =
      percentage to get the low value card = 77.5%
      p2 =
      percentage to get the high value card = 22.5%
      The
      table shows the percentage. To get 2 units is 60%, to get 3 units is 35% and to
      get 4 units is 5%. I use the equation below to get the average:
      2*(p1*p1) + 3*(p1*p2)*2 + 4*(p2*p2)
      =2.45 (units)
      Hence,
      the average value from drawing is 2.45 units/ round. However, the practical
      condition is more uncontrollable. The range shall shift depending on the
      characters and the use of cards.


      IP属地:上海7楼2013-05-21 13:10
      回复
        The features of the
        characters
        The different
        characters are the most attractive part of 3KK. Everyone who knows this game
        must have his or her own favorite characters. However, some of the characters
        have more supporters and some have less; one important reason is because
        different characters also have different strengths. I can calculate the benefit
        of the characters per round so that I can measure them in the “scientific” way.
        For example, there are the abilities of the character called Zhen Ji
        who has 3 health points.
        Character
        ability 1: Impetus for War 倾城Every hand that is a "club" or a "spade"
        suit can be used as a dodge.
        Character ability 2: Goddess Luo 洛神At the beginning of your turn, you can flip a judgment card.
        If the judgment card is a black-suited card ("clubs" or
        "spades"), you can keep the card in your hand and can continue to
        flip over another judgment card. Once the judgment card is a red-suited card,
        the ability ends and you cannot keep that red-suited card.
        The first ability of Zhen Ji is to
        transform the cards to a dodge.
        According to the calculation in the last paragraph, we already know that the value
        of using a dodge is more than 1
        unit. That means this ability can transform a lower value card to a higher
        value card. The value of this ability depends on whether the other characters
        use attack on you or not. According
        to the percentage of attack cards in
        the deck, I assume that Zhen Ji will be attacked once per round. Therefore,
        there will be one lower value card transformed to a higher value card. The
        value-difference is 2 - 1 = 1 unit. However, as I said before, because the dodge cannot be played proactively, the
        value of this ability is lower than what the data shows.
        The
        second ability is a drawing ability. From observing, I can tell that the value equation
        of this ability is a geometric progression. Therefore, I can use the geometric
        sequence summation equation:
        S = a1 * q^ (n - 1) / 1 – q
        Set
        a1 = 1;
        q = ½;
        n = infinite
        S = 1 * ½^ (n – 1) / 1 - ½
        S = 2 * ½^ (n – 1)
        ∵ lim n→∞ [½^(n – 1)] = ∵ ½ * lim n→∞ (½ ^n)
        ∴ S = 2 * ½ = 1
        Then, I get the average value of the
        second ability is 1 units/ round.
        Consequently,
        the benefit of Zhen Ji is available now. If I assume the value of ability
        “impetus of war” is 0.5 units, the average of Zhen Ji’s benefit is 1.5 units/
        round.
        For
        comparison, there is another character named Sun Quan, who has 4 health points.
        His abilities are shown below.
        Character
        ability 1: "Balance of Power 制衡" During
        your action phase, you can discard any number of cards and draw the same number
        of new cards from the deck. This skill is limited to once per round.
        Character
        ability 2: [Ruler ability, Enforced ability] "Rescued 救援" When you are rescued from the brink of
        death by other Wu characters via the use of peach, you recover 1 additional unit of
        health (from zero health to two units of health).
        Because the second ability
        is not used often, I will simplify by skipping it. Seemingly, the value of the
        first ability is easy to count. The cost = the benefit, the value of this ability
        equals zero. However, this character is the strongest at the “1 versus 1” mode.
        The reason is the existence of high value cards. Sun Quan
        can transform the low value or non-value (because it cannot be use immediately)
        cards to random cards. According to the calculation I did above, once Sun Quan
        draw 4.45 cards, he can get 1 unit of benefit. I assume that the value of every
        non-value card is 0.5 units. Sun Quan on average transforms 1 non-value card (0.5
        units) and 1 low value card (1 unit) to 2 random cards (2.45 units) per round.
        The cost is about 0.5 + 1 = 1.5 unit, therefore:
        2.45–1.5
        = 0.95 units/ round
        The average benefit of Sun Quan is around 0.95
        units per round.
        The character Zhen Ji
        has higher benefit than Sun Quan, so the way to balance it is by using via
        different health points. The characters that have the weaker ability usually
        have higher health points.
        I can use the same method
        as the examples above to get the average benefit of all the characters. However,
        that will be a lot work, so I searched for the information on the internet. Someone
        else has figured that out. He stated that the average benefit of characters
        with 3 health points is around 1.5 united, and the benefit of characters with 4
        health points is around 0.7 units.
        As you see, the
        character Zhen Ji has the benefit equal to the average. Thus the strength is in
        the normal level. Sun Quan has the benefit higher than the average. Therefore he
        is what we call a “strong character”.


        IP属地:上海本楼含有高级字体8楼2013-05-21 13:13
        回复