problem solving - games
DESCRIPTION
TRANSCRIPT
![Page 1: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/1.jpg)
G A M E S
![Page 2: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/2.jpg)
WHAT IS THIS PRESENTATION ALL ABOUT?
B A S I C - T H E O R Y
X
E
P
M
E
L
P
B
O
E
L
S
M
SEHC
A T T I C E
G
I
N
K
T
R
A
U
Q
S
S
![Page 3: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/3.jpg)
LET’S PLAY A GAME FIRST.
is better than
![Page 4: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/4.jpg)
INVESTIGATING THE GAME
Game of two players, A and B. A always moves first but otherwise the rules are the same for A and B.
The game have a set of all position, P and a set of all legal move, M.
![Page 5: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/5.jpg)
POSITIONS AND LEGAL MOVES
First Game
Second Game
Since the players are merely allowed to check 1, 2, or 3 cells, then we have the set of legal moves is .
In this game, a position may be represented by the number of cells remaining.
Therefore, the set of all position in first game is while the set of all position in second game is .
![Page 6: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/6.jpg)
WINNING AND LOSING POSITIONS
The set P can be partitioned intothe set L of losing and the set W of winning positions:
, .
A player finding himself in a position in L will lose provided her opponent plays correctly. A player finding herself in a position in W can force a win whatever his opponent does.
![Page 7: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/7.jpg)
In most games, at his or her turn, a player may have to choose one of several moves. A strategy is a rule or decision making formula that tells the player which
choice to make at each turn.
If this strategy enables the player to win no matter what moves his or her opponent makes, we will call it a
winning strategy for that player.
![Page 8: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/8.jpg)
FINDING A WINNING STRATEGY
Working BackwardI
Frontal AssaultIII Pairing StrategiesIV
Simplifying a GameII
![Page 9: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/9.jpg)
Let’s Find the Winning StrategyThe winning strategy of first and second games that we played before can be investigated by using an approach called working backward.
The winner is a player that occupies position 0 in the end, it means that there is no cell for his opponent to be checked.
No cell to be checked
![Page 10: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/10.jpg)
Win
nin
g a
nd
Losi
ng
Posi
tions
Winning Losing Reason
0 Goal has been achieved
1, 2, 3 Opponent can check last cell(s)
4 Opponent must leave 1, 2, or 3 (losing)
5, 6, 7 Opponent may leave 4 (winning)
… … …
20 Opponent must leave 17, 18, or 19 (losing)
21, 22, 23 Opponent may leave 20 (winning)
Finding the Winning and Losing Positions First
and for First Game
Winning Losing Reason
0 Goal has been achieved
1, 2, 3 Opponent can check last cell(s)
4 Opponent must leave 1, 2, or 3 (losing)
5, 6, 7 Opponent may leave 4 (winning)
… … …
25, 26, 27 Opponent may leave 24 (winning)
28 Opponent may leave 20 (winning)
and for Second Game
![Page 11: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/11.jpg)
Therefore, the winning positions of first and second games are 0, 4, 8, … , 20, the multiple of 3 + 1, while
the losing positions are the numbersthat not multiple of 3 + 1.
It implies that, B have the winning strategy for first game, and A have the winning strategy
for second game.
![Page 12: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/12.jpg)
WHAT IF …
The number of cells is n and each player may check 1, 2, …, k – 1, or k cells at each turn.
The winning positions are all multiples of k + 1 and the losing positions are all other numbers.
Thus, the player who want to be a winner should always leave multiples of k + 1 cells.
![Page 13: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/13.jpg)
M SL EBR OP
![Page 14: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/14.jpg)
LATTICE SQUARE
Two players A and B alternately color lattice squares of a 19 × 94 square. Who has a winning strategy?A lattice square is any square of the board whose vertices are lattice points of the 19 × 94 board.
– MMO 1994
![Page 15: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/15.jpg)
Coloring lattice squares can be like this!
![Page 16: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/16.jpg)
CONSIDER THE BOARD
Consider a board with a small odd height and a large even width below!
What do you think about that board?Yes, the board is symmetric with respect to the line s
![Page 17: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/17.jpg)
HOW WE CAN SOLVE IT?
Can we use pairing strategy to solve itwith ?
So, what is the pair of then?
![Page 18: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/18.jpg)
THE SOLUTION IS …
Anyway, we can use the pairing strategy after we color the square (a square with maximum width and symmetric to s).
And finally we have . And according to , we can conclude that A have the winning strategy.
![Page 19: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/19.jpg)
For 19 × 94 square have a similar solution with the illustration before. The first move should
be to color the square . Now the board is split into two parts which are symmetric with respect to the line s. B is forced to color a square on one side of s. A responds by coloring the square which is symmetric to B’s choice
with respect to s.
![Page 20: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/20.jpg)
KNIGHT’S TOURA and B alternately move a knight on a 1994 × 1994 chessboard. A makes only horizontal moves , B makes only vertical moves . A starts by choosing a square and making a move. Visiting a square for a second time is not permitted. The loser is the one who cannot move.Prove that A has a winning strategy.
–ARO 1994
![Page 21: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/21.jpg)
&SIMPLIFY, TRY, TRY, AND TRY
Winning strategy I Winning strategy II
Winning strategy III
From examples, A have several winning strategies for 4 × 4 chessboard knight’s tour game.
Also, A can lose the game if he don’t have a right strategy.
Wrong strategy
![Page 22: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/22.jpg)
EXTEND THE WINNING STRATEGY
We can extend 4 × 4 first chessboard’s winning strategy to become 8 × 8 chessboard’s winning strategy.
First, imagine that 8 × 8 chessboard can be made from 4 connected 4 × 4 chessboard (look the figure beside). But there are the possible position that made by B that don’t have the “connector” arrow.
![Page 23: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/23.jpg)
FIND THE CONNECTOR ARROW
The winning strategy can be like this.
![Page 24: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/24.jpg)
Th
e
Exte
nd
ed
W
innin
g
Str
ate
gy
Assume that 4k × 4k have a winning strategy like figure below.
Then 4(k + 1) × 4(k + 1) also have similar winning strategy.
![Page 25: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/25.jpg)
BONUSBeside the previous winning strategy, A also have another winning strategies for this game.These are another winning strategies of A.
![Page 26: Problem Solving - Games](https://reader036.vdocument.in/reader036/viewer/2022081507/553a65bb4a79592d278b456a/html5/thumbnails/26.jpg)
The value of mathematics in any science lies more in disciplined analysis and abstract thinking than in particular theories and techniques. —Alan Tucker, 1982
THANK YOU.