How to always win (at some games)
9/27/25
Race to 100
9/27/25
Race to 100
2. Decide who goes first
9/27/25
Race to 100
3. The first person starts by saying a number from 1 to 10
7
9/27/25
Race to 100
3. The first person starts by saying a number from 1 to 10
7
4. The other person adds to it any number from 1 to 10
12
9/27/25
Race to 100
5. Go back and forth adding any number from 1-10
18
9/27/25
Race to 100
5. Go back and forth adding any number from 1-10
18
28
9/27/25
Race to 100
5. Go back and forth adding any number from 1-10
18
28
35
9/27/25
Race to 100
5. Go back and forth adding any number from 1-10
18
28
35
44
51
...
9/27/25
Race to 100
5. Go back and forth adding any number from 1-10
18
28
35
44
51
...
6. The person who reaches 100 first WINS!
100
9/27/25
Race to 100
5. Go back and forth adding any number from 1-10
18
28
35
44
51
...
6. The person who reaches 100 first WINS!
100
9/27/25
Race to 100
Does anyone have any ideas how you can improve your chances of winning?
9/27/25
Race to 100
Let us work backwards....
9/27/25
Race to 100
Let us work backwards....
If your opponent says a number bigger than or equal to 90, you automatically win. Why?
9/27/25
Race to 100
Let us work backwards....
If your opponent says a number bigger than or equal to 90, you automatically win. Why?
100
90
9/27/25
Race to 100
Let us work backwards....
If your opponent says a number bigger than or equal to 90, you automatically win. Why?
100
90
9/27/25
Race to 100
So how can you force your opponent to say a number bigger than or equal to 90?
100
90
9/27/25
Race to 100
So how can you force your opponent to say a number bigger than or equal to 90?
100
89
9/27/25
Race to 100
So how can you force your opponent to say a number bigger than or equal to 90?
100
89
9/27/25
Race to 100
If you stop at 89, your opponent can reach 99 at max, and then you can win!
100
89
9/27/25
Race to 100
If you stop at 89, your opponent can reach 99 at max, and then you can win!
100
89
89
9/27/25
Race to 100
Let us use the same logic again.
100
89
89
79
9/27/25
Race to 100
Let us use the same logic again.
100
89
89
79
78
�
24
9/27/25
Repeating this logic tells us that the race is made out of shorter races
100 to 89 to 78 to 67 to 56 to 45 to 34 to 23 to 12 to....
�
25
9/27/25
Repeating this logic tells us that the race is made out of shorter races
100 to 89 to 78 to 67 to 56 to 45 to 34 to 23 to 12 to....
1! So we begin with a race to 1. What does this mean?
�
26
9/27/25
Repeating this logic tells us that the race is made out of shorter races
100 to 89 to 78 to 67 to 56 to 45 to 34 to 23 to 12 to....
1! So we begin with a race to 1. What does this mean?
It matters who starts. If you start, then you can win by using the strategy.
�
27
9/27/25
Race to 100 strategy
2. Always make the numbers
100, 89, 78, 67, 56, 45, 34, 23, 12
3. Win! :D
The game of Nim
�
28
9/27/25
The game of Nim
�
29
9/27/25
We start with two equal piles of beads
The game of Nim
�
30
9/27/25
Decide who goes first. Take turns playing.
The game of Nim
�
31
9/27/25
In each turn, choose ONE pile and take as many beads as you want.
The game of Nim
�
32
9/27/25
In each turn, choose a pile and take as many beads as you want.
The game of Nim
�
33
9/27/25
In each turn, choose a pile and take as many beads as you want.
The game of Nim
�
34
9/27/25
In each turn, choose a pile and take as many beads as you want.
The game of Nim
�
35
9/27/25
In each turn, choose a pile and take as many beads as you want.
The game of Nim
�
36
9/27/25
In each turn, choose a pile and take as many beads as you want.
The game of Nim
�
37
9/27/25
In each turn, choose a pile and take as many beads as you want.
The game of Nim
�
38
9/27/25
In each turn, choose a pile and take as many beads as you want.
The game of Nim
�
39
9/27/25
Person who takes the last pile wins. Or, if you have nothing to pick, you lose!
The game of Nim
�
40
9/27/25
Let's play!
Rules:
The game of Nim (strategy)
�
41
9/27/25
What ideas do you have?
The game of Nim (strategy)
�
42
9/27/25
We will again work backwards.
The game of Nim (strategy)
�
43
9/27/25
We will again work backwards.
What happens when you finish the first pile?
The game of Nim (strategy)
�
44
9/27/25
We will again work backwards.
What happens when you finish the first pile?
The game of Nim (strategy)
�
45
9/27/25
We will again work backwards.
What happens when you finish the first pile?
The game of Nim (strategy)
�
46
9/27/25
We will again work backwards.
What happens when you finish the first pile?
You lose! Your opponent can pick the other pile.
The game of Nim (strategy)
�
47
9/27/25
We will again work backwards.
What happens when you finish the first pile?
You lose! Your opponent can pick the other pile.
The game of Nim (strategy)
�
48
9/27/25
So we should force our opponent to pick the first pile.
The game of Nim (strategy)
�
49
9/27/25
So we should force our opponent to pick the first pile.
This can only happen when the piles are (on your opponent's turn)
The game of Nim (strategy)
�
50
9/27/25
And how can we make 1-1 happen? Our opponent must have no other choice
The game of Nim (strategy)
�
51
9/27/25
And how can we make 1-1 happen? Our opponent must have no other choice
The game of Nim (strategy)
�
52
9/27/25
So we win if on our opponent's turn the piles are equal
The game of Nim (strategy)
�
53
9/27/25
So we win if on our opponent's turn the piles are equal
This is called the copying strategy.
2. "Do whatever your opponent does".
The unequal game of Nim
�
54
9/27/25
We start with two piles but not both equal.
The unequal game of Nim
�
55
9/27/25
What is the strategy now?
The unequal game of Nim
�
56
9/27/25
Using the idea from the equal version: "one who makes the piles equal wins"
The unequal game of Nim
�
57
9/27/25
Using the idea from the equal version: "one who makes the piles equal wins"
The unequal game of Nim� (strategy)
�
58
9/27/25
In math, this is called reducing one game to the other.
Another variant of Nim�(Wythoff's game)
�
59
9/27/25
Start with unequal piles
Another variant of Nim�(Wythoff's game)
�
60
9/27/25
Same rules as Nim with an extra rule:
You can take an equal number of beads from both piles at once.
Another variant of Nim�(Wythoff's game)
�
61
9/27/25
Same rules as Nim with an extra rule:
You can take an equal number of beads from both piles at once.
Another variant of Nim�(Wythoff's game)
�
62
9/27/25
Let's play!
Rules
Another variant of Nim�(Wythoff's game)
�
63
9/27/25
Why doesn't our previous strategy work?
Another variant of Nim�(Wythoff's game)
�
64
9/27/25
Why doesn't our previous strategy work?
If you make the piles equal, you lose!
Another variant of Nim�(Wythoff's game)
�
65
9/27/25
Why doesn't our previous strategy work?
If you make the piles equal, you lose!
A new game?
�
66
9/27/25
Before we discuss the strategy, let's talk about another game called the Queen's game.
A new game?
�
67
9/27/25
You start somewhere on the right side of the chessboard
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
A new game?
�
68
9/27/25
You have to reach the other corner
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
A new game?
�
69
9/27/25
You can move like a queen
Left
Down
Diagonally
as shown
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
A new game?
�
70
9/27/25
Take turns playing
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
A new game?
�
71
9/27/25
Take turns playing
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
A new game?
�
72
9/27/25
Take turns playing
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
A new game?
�
73
9/27/25
Take turns playing
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
A new game?
�
74
9/27/25
Take turns playing
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
A new game?
�
75
9/27/25
Take turns playing
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
A new game?
�
76
9/27/25
Take turns playing
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
A new game?
�
77
9/27/25
Take turns playing
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
Player 2 WINS!!
A new game?
9/27/25
Let's play!
Rules:
Before we discuss strategy...
9/27/25
Did anyone notice something?
Both games are the same game!
80
9/27/25
Let us take a look at how they are the same game.
Both games are the same game!
81
9/27/25
Let us take a look at how they are the same game.
Remove from the right pile
Remove from the right pile
Remove from both
Both games are the same game!
82
9/27/25
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
Both games are the same game!
83
9/27/25
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
Both games are the same game!
84
9/27/25
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
Both games are the same game!
85
9/27/25
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
Both games are the same game!
86
9/27/25
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
Both games are the same game!
87
9/27/25
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
Now let us discuss the strategy
88
9/27/25
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
90
9/27/25
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
91
9/27/25
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
92
9/27/25
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
93
9/27/25
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
94
9/27/25
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
95
9/27/25
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
What did we learn today?
96
9/27/25
Did y'all have fun?
What did we learn today?
97
9/27/25
Winning is important but it's more important to have fun!