Defeating You Wasn't Me, but Binary (Math-Focused; Subscribe with Caution, Skip If You Don't Like It)
The two-minute rounds continued for a very long time, until the sun had mostly set in the west, leaving only a red edge shining and casting long shadows of the chess pieces on the board.
"Smack!"
Richard made his move again, and the Joker glanced at the board and immediately saw the problem. He said bluntly, "I've lost again, but it's okay, let's play again! I don't believe I can't win a single game." With that, the Joker began to tidy up the board, picking up all the white pieces.
Richard refused, saying, "No need, Mister Joker. Even if we play a hundred more games, as long as I play black first, you will definitely lose. This has nothing to do with chess skills, but with mathematics; it's calculated."
"Huh?" The Joker stopped picking up the white pieces, looked at Richard, and asked, "What do you mean?"
"What I mean is that although the rules of Five-in-a-Row are simple, there are loopholes in the calculations. Without any restrictions, the first black player is guaranteed to win. Yes, guaranteed to win—as long as you play in a specific way, you are guaranteed to win against anyone."
Generally speaking, for the sake of fairness, in a normal game, black pieces will have 'Three-Three Forbidden Hand', 'Four-Four Forbidden Hand', 'Four-Three-Three Forbidden Hand', 'Four-Four-Three Forbidden Hand', and 'Long Chain Forbidden Hand'.
The so-called "Three-Three Forbidden Hand" means that when black places a piece, it will simultaneously form two or more three-in-a-rows. This is something that white cannot resist when it has the first move.
Therefore, in a normal game, if Black makes a ' Three-Three Forbidden Hand 'Three-Three Forbidden Hand or is forced to make one, the game is considered a loss. But in our game now, there are no forbidden moves, so you naturally have no hope of winning."
"You can even calculate that?" The Joker was still a little skeptical.
"In fact, the simpler the game, the easier it is to calculate," Richard said, spreading his hands. "If you have any doubts, we can play another game."
"What?"
"A game of chess pieces," Richard said, removing the chessboard and grabbing a handful of pieces. He counted nineteen pieces in total and divided them into three piles.
The first pile has three pieces, the second pile has seven pieces, and the third pile has nine pieces.
"Here are the rules," Richard said. "We will take turns taking pieces from these three piles, each time choosing any pile. The minimum number of pieces you can take is one, and the maximum is taking all the pieces from one pile. Whoever takes the last piece loses."
After a pause, Richard looked at the Joker and continued, "This game is different from Five-in-a-Row, but it can also be calculated mathematically, so the first player always wins."
The Joker's eyes flashed, and he stared at the chess piece for a long time, thinking, "I don't believe it. I've already thought of several ways to win as the second player."
"In that case, let's give it a try," Richard said, taking five pieces from one of the nine rightmost piles. The three piles of pieces immediately became a "3-7-5" arrangement.
The Joker thought for a moment and took away the remaining four pieces on the far right, turning them into a "3-7" shape.
Richard then took the four pieces from the second pile, making it a "three-three" formation.
The Joker stared at the chess piece for a long time without making a move, then looked at Richard and asked, "Am I considered to have lost now?"
"Yes." Richard nodded. "Although the results are not yet in, you have already lost."
The score is now 3:3. If you take one pile at once, I can take two from the remaining pile, leaving one for you, and you lose. If you take two from one pile, I can take the other pile, leaving one for you, and you lose.
Out of caution, you take only one piece from one pile, so I'll take one piece from the other pile as well, making it 2:2.
There's no fundamental difference between 2:2 and 3:3—if you take one item from one pile and I take one item from another pile, leaving you with one, you lose. If you take one item from one pile and I take everything from the other pile, leaving you with one, you still lose. There's no solution.
"But that's only one scenario. There are other scenarios too. You can't be guaranteed to win just because you went first," the Joker insisted.
Richard shook his head. "Indeed, there is only one situation. All the situations can be roughly divided into three types, which are the winning forms left by the first move in the final evolution."
The first scenario, the most extreme, leaves you with a pile of pieces, but only one piece. Whether you take it or not, you lose.
In the second scenario, you are left with two piles. As long as the number of piles is the same, no matter how many there are, in the end, it will all become 2:2, or the first scenario, in which case you lose.
The third scenario, with three remaining piles, is a bit more complex, but it will eventually gradually revert to the first two scenarios. As long as the first player doesn't make a mistake, the second player will still lose.
"But how can you not make a mistake when you make the first move?" The Joker's voice grew louder, slightly losing his composure. "You don't know what I'm thinking, so how can you control how I make my moves? And since you can't control how I make my moves, how can you guarantee that you won't make a mistake every time you make a move?"
"It's not that complicated," Richard said. "In the calculation, I don't need to know how you take them, I just need to give you an equilibrium state. To put it simply, first, I convert the number of pieces in each group into binary and arrange them horizontally. By the way, binary is simply changing the ordinary calculation of 'carry over one when reaching ten' to 'carry over one when reaching two', like this."
Richard spoke, he used a long, thin chess piece to write three lines of numbers on the ground: 0011 (3).
0111 (7)
1001(9)
Next, a horizontal line was drawn under the three lines of numbers. The numbers were then added together under the line to form the number:
There is a definition for 1123: a number is an even number if it is a multiple of 2, and an odd number if it is not. Among the four numbers 1123, there is an odd number, which means it is in a non-equilibrium state.
What I need to do is, by taking pieces, create a balance for you. For example, initially I took five pieces from the third pile, which created a balance, and that's how it works.
As he spoke, Richard erased the numbers he had written and began to write them again using a thin chess piece:
0011(3)
0111 (7)
0100 (4)
——
0222 "Now all the numbers are even, which is a state of equilibrium. In this state of equilibrium, no matter how you take them, all I can do is turn them back into a state of equilibrium. In the end, you will be the one who loses."
So it doesn't matter how you play, as long as I go first and establish an equilibrium, you lose. This is why going first always wins—it's not me who defeats you, but mathematics, the binary system.
This is simpler in principle and requires less calculation than Five-in-a-Row in a Row). You should be able to figure it out.
Richard finished speaking, Joker fell silent.
The Joker, silent, stared intently at the numbers Richard had written for a long time. Then, he took some chess pieces and began writing on the ground, dividing them into three piles to simulate the numbers. The simulation results were exactly as Richard had predicted—the first player always won.
Finally, the Joker looked at Richard with a complicated expression.
Richard spoke up, "Mister Joker, you see, I have a hard time beating you at 'Joker Chess,' but if you play 'Five-in-a-Row' or 'Piece Removal' with me, you'll never win either. This has nothing to do with wisdom or humility; it's simply a matter of choice."
The reason you chose to play "Joker Chess" with me is because you knew you would win before you even started. And I know I would also win against you at "Five-in-a-Row" and "taking pieces." This is due to differences in our areas of expertise, or you could say it's a matter of playing on our own terms. That's why I don't quite agree with what you said at the beginning.
"By the way," Richard at the Joker and asked seriously, "Mister Joker, do you remember what you were going to say to me, right?"
"I—" The Joker stood up, looked at Richard, his gaze shifting several times before finally taking a deep breath and turning around abruptly, "The Wooden Stage is ready, I should perform now. Let's end the game for now, maybe we can talk again next time..."
"Will there be a next time?" Richard asked.
"Perhaps," the Joker said, walking towards the Wooden Stage without looking back.
Just then, the sun completely set in the west, and the sky turned black. Richard watched the Joker's retreating figure, his eyes slightly narrowed.
P. S.: The original concept of taking chess pieces is dividing matches, which is a classic mathematical problem. There are many solutions online. The binary solution in this article is one I Zhihu on Zhihu, and it's a relatively easy-to-understand one—at least I can understand it. Interested students can play this game with their friends and family, just be careful not to get beaten up.
Speaking of which, I've suddenly realized that I enjoy studying more now than when I was in school. Is it just my imagination? Hmm, it must be.