WOO logo

Ask The Wizard #404

What is the most effective strategy for the game known as Tsyan Shizi, sometimes referred to as 'take stones' or 'Chinese nim'?

anonymous

To assist other players, I'll clarify the rules governing Tsyan Shizi.

  1. The game begins with two piles of stones that differ in size.
  2. The players will take turns.
  3. During each turn, a player can either take any number of stones from a single pile or can remove an equal amount from both piles.
  4. The winner is the player who takes the last stone from the game.

Refer to the following table for my proposed strategy.

Difference Play
0 All
1 1,2
2 3,5
3 4,7
4 6,10
5 8,13
6 9,15
7 11,18
8 12,20
9 14,23
10 16,26

If you need a longer table covering differences up to 89, please expand the spoiler section below.

Difference Play
0 All
1 1,2
2 3,5
3 4,7
4 6,10
5 8,13
6 9,15
7 11,18
8 12,20
9 14,23
10 16,26
11 17,28
12 21,33
13 22,35
14 24,38
15 25,40
16 29,45
17 30,47
18 32,50
19 33,52
20 35,55
21 37,58
22 38,60
23 42,65
24 43,67
25 45,70
26 46,72
27 55,82
28 56,84
29 58,87
30 59,89
31 63,94
32 64,96
33 66,99
34 67,101
35 76,111
36 77,113
37 79,116
38 80,118
39 84,123
40 85,125
41 87,128
42 88,130
43 90,133
44 92,136
45 93,138
46 97,143
47 98,145
48 100,148
49 101,150
50 110,160
51 111,162
52 113,165
53 114,167
54 118,172
55 119,174
56 121,177
57 122,179
58 144,202
59 145,204
60 147,207
61 148,209
62 152,214
63 153,216
64 155,219
65 156,221
66 165,231
67 166,233
68 168,236
69 169,238
70 173,243
71 174,245
72 176,248
73 177,250
74 199,273
75 200,275
76 202,278
77 203,280
78 207,285
79 208,287
80 210,290
81 211,292
82 220,302
83 221,304
84 223,307
85 224,309
86 228,314
87 229,316
88 231,319
89 232,321

Here is my strategy derived from the previously mentioned table.

  1. Take note of the difference in the number of stones between the two piles.
  2. For a difference of ten stones or less, refer to the table above to see the recommended play.
  3. If both piles contain enough stones according to that table, then remove the same number from both piles to reach a position indicated in the 'play' column.
  4. If the piles lack sufficient stones to follow the table's guidance (for instance, with 6 and 11 stones), then take stones from one pile to reach one of the configurations listed in the table. For example, with a configuration of 6 and 11, you would take 1 stone from the 11 pile to create a new situation of 10,6.
  5. The only other scenario is if you find yourself already in one of those listed states. In that case, if you're playing against someone skilled, you will likely end up shifted to another losing position according to the table, no matter your moves. But, if your opponent isn't experienced, I suggest taking just one stone from either pile, which may give them a chance to make a mistake.

What are the odds of hitting a jackpot (a win of $1,200 or more) when playing 9/6 Jacks or Better in multi-hand video poker?

anonymous

The outcome certainly hinges on factors like the denomination and the number of hands played. The following table exhibits these probabilities.

Jackpot Probability in Multi-Hand Video Poker gives insight into how frequently a player can expect to achieve each total win in a comprehensive simulation.

Denomination 3 Play 5 Play 10 Play 25 Play 50 Play 100 Play
$0.01 0.000000 0.000000 0.000000 0.000000 0.000001 0.000001
$0.05 0.000000 0.000000 0.000001 0.000001 0.000002 0.000022
$0.10 0.000001 0.000001 0.000002 0.000006 0.000047 0.000378
$0.25 0.000002 0.000003 0.000008 0.000053 0.000369 0.000556
$0.50 0.000070 0.000115 0.000238 0.000782 0.001247 0.008527
$1.00 0.000070 0.000128 0.000473 0.000786 0.009518 0.072671
$2.00 0.000083 0.000363 0.000488 0.010002 0.070029 0.239753
$5.00 0.000720 0.001290 0.012978 0.100374 0.318838 0.768839
$25.00 0.041494 0.124818 0.348811 0.835708 0.995943 0.999983

This table was taken from my video poker appendix 2 Imagine there are ten lily pads laid out on a lake. A fly rests on the last lily pad, and a frog on the shore desires to catch it. The frog can only jump in one direction and may cover either one or two lily pads with each leap. How many unique sets of lily pads can the frog land on? It’s important to note that the frog must reach the tenth lily pad to catch the fly.

Let's simplify this scenario by starting with one lily pad and gradually adding additional pads to identify a pattern.

anonymous

If there were only one lily pad, the answer is straightforward: there is exactly 1 way to land on it.

With two lily pads, the frog has two options; it can either jump directly to the first pad or leap over it, which totals 2 possible sets.

When considering three lily pads, the frog's first jump could advance it either one or two pads forward. This means it could end up at either 1 or 2 pads. We know there’s one way to move one pad and two ways to jump two; adding the first move choices gives us 1+2 = 3 sets.

With four lily pads, the frog's first jump can again advance it by one or two pads, putting it at either 2 or 3 pads. Previously, we established there are 2 ways to reach 2 and 3 ways to reach 3. So, by adding the first move, we calculate 2+3 = 5 sets.

As for five lily pads, the frog's initial jump can still advance one or two pads, reaching either 3 or 4 pads. Based on our earlier observations, there are 3 ways to jump to 3 and 5 ways to jump to 4. Adding the first jump option provides us with 3+5 = 8 sets.

The following compilation reveals that there are a total of 89 different ways for the frog to reach the tenth lily pad.

This is following the Fibonacci sequence We offer mathematically sound strategies and information for a variety of casino games, including blackjack, craps, roulette, and many more.

  • 1 pad = 1 ways.
  • 2 pads = 2 ways.
  • 3 pads = 3 ways.
  • 4 pads = 5 ways.
  • 5 pads = 8 ways.
  • 6 pads = 13 ways.
  • 7 pads = 21 ways.
  • 8 pads = 34 ways.
  • 9 pads = 55 ways.
  • 10 pads = 89 ways.