Grade 7 & 8 Math Circles. Mathematical Games

Similar documents
Grade 6 Math Circles Combinatorial Games - Solutions November 3/4, 2015

Grade 6 Math Circles Combinatorial Games November 3/4, 2015

Senior Math Circles February 10, 2010 Game Theory II

Counters in a Cup In and Out. The student sets up the cup, drops the counters on it, and records how many landed in and out of the cup.

Figure 1: The Game of Fifteen

OCTAGON 5 IN 1 GAME SET

Game, Set, and Match Carl W. Lee September 2016

Grade 7/8 Math Circles Game Theory October 27/28, 2015

Classic Dominoes. Number of Players: 2-4

Grade 7/8 Math Circles November 24/25, Review What have you learned in the past seven weeks?

Grade 6 Math Circles. Math Jeopardy

HOW TO PLAY Shape Card Games

Game, Set, and Match Carl W. Lee September 2016

Grade 7/8 Math Circles November 24/25, Review What have you learned in the past seven weeks?

Card Racer. By Brad Bachelor and Mike Nicholson

PROBLEMS & INVESTIGATIONS. Introducing Add to 15 & 15-Tac-Toe

LEARNING ABOUT MATH FOR GR 1 TO 2. Conestoga Public School OCTOBER 13, presented by Kathy Kubota-Zarivnij

Binary Games. Keep this tetrahedron handy, we will use it when we play the game of Nim.

Numan Sheikh FC College Lahore

EXPLORING TIC-TAC-TOE VARIANTS

Analyzing Games: Solutions

Positive Triangle Game

JUSTIN. 2. Go play the following game with Justin. This is a two player game with piles of coins. On her turn, a player does one of the following:

Problem F. Chessboard Coloring

The Mathematics of Playing Tic Tac Toe

DELUXE 3 IN 1 GAME SET

Instruction Cards Sample

Figure 1: A Checker-Stacks Position

SUMMER MATHS QUIZ SOLUTIONS PART 2

Grade 7/8 Math Circles. February 14 th /15 th. Game Theory. If they both confess, they will both serve 5 hours of detention.

Angles and. Learning Goals U N I T

GAMES AND STRATEGY BEGINNERS 12/03/2017

How to Play WADA s Anti-Doping Card Game

Grade 6, Math Circles 27/28 March, Mathematical Magic

Grade 7/8 Math Circles. Visual Group Theory

4th Pui Ching Invitational Mathematics Competition. Final Event (Secondary 1)

Grades 7 & 8, Math Circles 27/28 February, 1 March, Mathematical Magic

Phase 10 Masters Edition Copyright 2000 Kenneth R. Johnson For 2 to 4 Players

Run Very Fast. Sam Blake Gabe Grow. February 27, 2017 GIMM 290 Game Design Theory Dr. Ted Apel

Grade 7/8 Math Circles. Visual Group Theory

Playdough to Plato Graphics: Pixel Paper Prints and Cupcake Cutiees

Background. Game Theory and Nim. The Game of Nim. Game is Finite 1/27/2011

Impartial Combinatorial Games Berkeley Math Circle Intermediate II Ted Alper Evans Hall, room 740 Sept 1, 2015

Grade 7/8 Math Circles. Mathematical Puzzles

Table of Contents. What s Different?... 19

Mathematical Talk. Fun and Games! COUNT ON US MATHS CLUB ACTIVITIES SESSION. Key Stage 2. Resources. Hints and Tips

3. If you can t make the sum with your cards, you must draw one card. 4. Players take turns rolling and discarding cards.

Math 152: Applicable Mathematics and Computing

ARTIFICIAL INTELLIGENCE (CS 370D)

Go Fish (Addition facts to Ten)

saying the 5 times, 10 times or 2 times table Time your child doing various tasks, e.g.

of Nebraska - Lincoln

Game 0: One Pile, Last Chip Loses

PHASE 10 CARD GAME Copyright 1982 by Kenneth R. Johnson

Fun and Games on a Chess Board

MONUMENTAL RULES. COMPONENTS Cards AIM OF THE GAME SETUP Funforge. Matthew Dunstan. 1 4 players l min l Ages 14+ Tokens

LEARNING ABOUT MATH FOR K TO 5. Dorset Public School. April 6, :30 pm 8:00 pm. presented by Kathy Kubota-Zarivnij

Whenever possible, ask your child to tell you the time to the nearest 5 minutes. Use a clock with hands as well as a digital watch or clock.

COMPOSITION CRAM INSTRUCTIONS:

BALTIMORE COUNTY PUBLIC SCHOOLS. Rock n Roll

Bouncy Dice Explosion

Chess Handbook: Course One

Acing Math (One Deck At A Time!): A Collection of Math Games. Table of Contents

For 2-4 Players Ages 8 & Up. "Knock Knock" "Who's There?" "Leaf." "Leaf who?" "Leaf me alone, I'm playing a really fun card game!"

2005 Galois Contest Wednesday, April 20, 2005

Chapter 4: Patterns and Relationships

WORD WINDER Game Play Basics It s As Easy as ABC

Addition and Subtraction

Game Theory and Algorithms Lecture 19: Nim & Impartial Combinatorial Games

1, 2,, 10. Example game. Pieces and Board: This game is played on a 1 by 10 board. The initial position is an empty board.

Plan. Related courses. A Take-Away Game. Mathematical Games , (21-801) - Mathematical Games Look for it in Spring 11

game tree complete all possible moves

DIVISION III (Grades 4-5) Common Rules

GRADE 3 TEXAS. Subtraction WORKSHEETS

Bouncy Dice Explosion

Building Successful Problem Solvers

Games for Drill and Practice

Math Games Ideas. For School or Home Education. by Teresa Evans. Copyright 2005 Teresa Evans. All rights reserved.

Polygon Quilt Directions

Games of Skill ANSWERS Lesson 1 of 9, work in pairs

Determining the Cost Function In Tic-Tac-Toe puzzle game by Using Branch and Bound Algorithm

STUDENT S BOOKLET. Geometry 2. Contents. Meeting 7 Student s Booklet. May 24 UCI. 1 Circular Mountains 2 Rotations

PLAYERS AGES MINS.

Use repeated addition to find the total number of fingers. Find the total of each group by using repeated addition. Multiplication and Division

Math Circle: Logic Puzzles

select the 4 times tables and then all the number tiles used would be 4 x something

Contents. MA 327/ECO 327 Introduction to Game Theory Fall 2017 Notes. 1 Wednesday, August Friday, August Monday, August 28 6

NEVADA GOOD SAMS GAME RULES Revised September 2015

Grade 6 Math Circles March 7/8, Magic and Latin Squares

Building Multiplication Fact Fluency

Graph Nim. PURE Insights. Breeann Flesch Western Oregon University,

Solutions to Part I of Game Theory

Targets - Year 3. By the end of this year most children should be able to

Only and are worth points. The point value of and is printed at the bottom of the card.

Multiplication and Division

7 = Part-Part-Whole. Games = 6 + 1

Tangent: Boromean Rings. The Beer Can Game. Plan. A Take-Away Game. Mathematical Games I. Introduction to Impartial Combinatorial Games

Roll & Make. Represent It a Different Way. Show Your Number as a Number Bond. Show Your Number on a Number Line. Show Your Number as a Strip Diagram

Problem Solving By Cynthia Northrup

Hackenbush. Nim with Lines (and something else) Rules: Example Boards:

Transcription:

Faculty of Mathematics Waterloo, Ontario N2L 3G1 The Loonie Game Grade 7 & 8 Math Circles November 19/20/21, 2013 Mathematical Games In the loonie game, two players, and, lay down 17 loonies on a table. They take turns removing the loonies. They must take at least one loonie, but no more than 3 loonies, at a time. The winner is the one who takes the last loonie (and they get the rest of the loonies for winning). Person goes first, then Person. Turn # of Loonies Remaining start 17 Turn # of Loonies Remaining start 17 nalysis of the Loonie Game round of this game occurs whenever Player finishes his or her move or when the game is over. If at the beginning of a round, Player is faced with 4 loonies, can he or she win the game? Why? No, because if Player takes x loonies (x is 1, 2, or 3), Player takes 4 x loonies. Is there a way for Player to always force Player into the above situation? Yes if Player goes first. 1

What amount of loonies can be removed in one round, no matter how many loonies Player takes? If Player takes x loonies (x is 1, 2, or 3), Player can take 4 x loonies and make sure that 4 loonies are removed in every round. The Secret to Winning: 1. Player removes 1 loonie 2. Player removes x loonies (x is either 1, 2, or 3) 3. Player removes 4 x loonies (either 1, 2, or 3) 4. Repeat until it is Player s turn and there are only 4 loonies left 5. Player is guaranteed to win Terminology: In mathematical games, a strategy is the collection of all the moves made by a player during the course of one game. winning strategy is a strategy which guarantees a win, no matter what the other player(s) do. winning position is any point in a winning strategy. The 100 Game In the 100 Game, two players start with a sum of 0. lternating turns, they add a number from 1 to 10 to the sum. The first player to reach 100 wins. Winning Strategy: On the problem set. Winning Strategies Do all mathematical games have a winning strategy? No. Example: Tic-tac-toe Interesting Fact: If a mathematical game between two players cannot end in a tie, then there must be a winning strategy for one of the players. Proof: Let s call the two players and. If has a winning strategy, we re done. If does not have a winning strategy, this means that must have a way to prevent from winning. 2

So then either both of them tie, or wins (since does not win). ut there are no ties. So wins. The moves that makes are his/her winning strategy. Either way, there is a winning strategy! Finding Winning Strategies We can apply some problem solving techniques to help us. Working ackwards Symmetry Reducing the Problem Game Trees Working ackwards - Example: Nim In the two-player game of Nim, 33 matchsticks are laid out in a row across a table. On each turn, a player must remove 1, 2, 3, or 4 matchsticks. Whoever clears the table wins the game. Can we have a tie? If not, which player has a winning strategy? Turn # of Matchsticks Remaining start 33 Turn # of Matchsticks Remaining start 33 3

If we work backwards, we see that whoever has to remove from a pile of 5 matchsticks will lose the game. This is known as a losing position. What are the other possible losing positions? ll multiples of 5 less than 33 If the person who goes first is, and the person who goes second is, can control the game to always force into a losing position? Yes, by taking away 3 matchsticks on his/her first move. Symmetry - Example: Nim 2.0 In certain games involving two players, one player can often force a winning position by matching or mirroring their opponent s moves. This is known as the tit-for-tat or symmetry strategy. In this variation of Nim, there are now two piles of matchsticks on the table, one with 15 matches, another with 19 matches. Each player is allowed to take 1, 2, 3, or 4 matches from either pile, but cannot take from both at once. Once again, the player who clears the last matchstick off the table wins. Can we have a tie? Which player has a winning strategy? Turn Pile 1 Pile 2 start 19 15 Turn Pile 1 Pile 2 start 19 15 The secret: match the piles. The person who is faced with an equal number of matchsticks in both piles at the beginning of their turn cannot use a winning strategy. Since there are no ties, the other player has a winning strategy. 4

Reducing the Problem - Example: Spiral Game Two players, one piece, circular board Can move the piece clockwise one position, or one position towards centre Cannot move counterclockwise or outwards, or onto a position that has already been occupied Winner is the person who makes the last move There are 4 rings in the board diagram. innermost ring, like below. Let s break the problem down and consider only the Key Point: Whoever makes the first move in the innermost ring always wins the game! ut who reaches the innermost ring first? Let s consider the two inner rings. Key Point: Whoever moves first in an outer ring can also move first in the next inner ring! So the winning strategy is: The person who goes first moves one space clockwise each turn. 5

Game Trees - Example: The Replacement Game In the Replacement Game, there is a jar filled with 2 red marbles, 1 green marble, and 1 blue marble. Two players, and, take turns removing marbles from the jar. On each turn, a player must remove two marbles of differing types from the jar, and replace it with a marble of the other type that they did not take. For example, if removed a red and a green marble, he/she must return a blue marble. The winner is the player who makes the last possible legal move. What are the possible winning strategies, if any? Who has them - Player (goes first), or Player (goes second)? Let R represent one red marble, G represent one green marble, and represent one blue marble. Then the original set-up in the jar is RRG. We draw a game tree by beginning at this point and creating branches which represent possible moves. t the end of each branch, the result of that move is recorded. We label the turns of each player. Each path that can be traced leads to a possible end-result of the game. RRG Player RG G R R RRR RGG Player R RG Player G G G G R R ll possible paths end with a move by player. Therefore, Player will always win the game. So the winning strategies (they don t require much thinking) include all possible collections of moves by Player. This game is pretty boring, but it was just used so that you could learn about game trees. Game trees can be useful for studying more interesting games as well. In fact, game trees can tell us whether winning strategies exist, and if so, what they are, for any mathematical game. The downside to game trees is that they take a long time to make for long games. 6

Problem Set *difficult **challenge ***mad skillz For the following problems, it is recommended you actually try playing the games with a partner to gain a better understanding. Remember the problem-solving strategies we covered in the lesson! Explain your answers!! 1. Classic Nim and Variations (a) If the Nim Game started with 40 matchsticks, and you could remove 1, 2, 3, or 4 matchsticks, which player has the winning strategy? (b) If the Nim Game started with 37 matchsticks, and you could remove 1, 2, or 3 matchsticks, which player has the winning strategy? (c) In Misere Nim, the loser is the one who takes the last matchstick. i. If the Nim Game started with 33 matchsticks, and you could remove 1, 2, 3, or 4 matchsticks, which player has the winning strategy? ii. If the Nim Game started with 36 matchsticks, and you could remove 1, 2 or 3 matchsticks, which player has the winning strategy? 2. Nim 2.0 and Variations (a) If one pile had 21 matches and the other had 23, and you could take 1, 2, 3, or 4 from either pile per turn, which player has the winning strategy? (b) * If the piles have 21 and 26 matches respectively, and you can take 1 to 4 matches from either pile, who has the winning strategy? 3. Jack and the Giant are playing a game with two piles of beans. On each player s turn, they must remove at least 1, but at most 7 beans from one of the piles. The winner is the player to take the last bean. (a) It is Jack s turn and the two piles have 25 and 27 beans. What is Jack s best move? (b) ** If the two are playing Misere style, where the loser is the one who takes the last bean, who has the winning strategy? ssume the same situation as in part (a). 4. * In the 100 Game described in class, explain how the person who goes first always has a winning strategy. (Hint: work backwards and figure out the winning positions) 5. * dam and mina are playing a game with four stacks of cards on a table. On each player s turn, he/she must remove some cards from any one stack (i.e. they can remove anywhere from 1 card to all of the cards in the stack). The four stacks have 11, 11, 14, and 16 cards. The winner is the player who removes the last card from the table. Since ladies go first, explain mina s strategy. 7

6. ill and Steve made up their own mathematical game during math class. The game begins with a rook on the square at the bottom-left corner of a standard 8 8 chessboard. The rules are as follows: i. Players take turns moving the rook any number of squares up or to the right. ii. The rook cannot be moved down or to the left. iii. The rook must be moved at least one square every turn (ie. no passing your turn) iv. The player who moves the rook to the square at the top-right corner of the board wins the game. nswer the following questions about the game. (a) How can you be sure that there is a winning strategy to the game? (b) If ill makes the first move of the game, then which player has a winning strategy? Explain the winning strategy. (c) ill and Steve invite their friend Natasha to play the game with them. ill suggests that Natasha should go first, then Steve, and then himself. Steve and Natasha agree with the playing order, but Steve also says that they should modify rule i. so that players can only move the rook one square up or to the right. He claims that this will help avoid quick games. Why do the new rules guarantee that Steve will win the game no matter what? 7. There are 2 apples, 1 orange, and 3 peaches in a basket. Just like the Replacement Game covered in the lesson, two players, and, take turns removing two different types of fruit from the basket, then replace it with 1 fruit of the remaining type. The winner is the player who makes the last legal move. (a) If goes first, who wins the game? (Hint: Game Tree) (b) What fruit is left in the basket? 8. John and ert are playing a rather strange card game. They start with 7 cards. John starts the game by discarding at least one, but no more than half the cards in the pack (so he can t discard 4, since 4 > 3.5). He then gives the remaining cards to ert. ert continues by discarding at least one, but no more than half the remaining cards. This continues on, with each player taking a turn and passing it back and forth. The loser is the player who is left with the last card. (a) ert has the winning stratey. Explain what it is (Hint: think even and odd numbers, and work backwards). 8

(b) ** fter losing, John demands a rematch. This time John starts with 52 cards. The rules stay the same - a player can remove anywhere from 1 to half the cards in the deck, and then passes it on to the other player, who then repeats this. The loser is the one who is left with the last card. Does John have a winning strategy? 9. The Sim Game. The Sim Game requires two players, Red and Green. Red goes first. The idea is to color the lines running between the 6 vertices in the graph below, either Red or Green. The first player to colour three lines forming a triangle (between three of the six vertices of the graph) in the same colour wins the game. (a) Play a couple of rounds - is there a possibility of a tie? (b) *** To show that there is a winning strategy, we have to show that no matter how we colour the lines, there must be three lines forming a triangle which all have the same colour. i. In the diagram, pick a vertex and label it O. ii. There are five lines connected to O. Explain why, no matter how you colour the five lines, that three of these lines have to be the same colour. iii. Label the vertices that these lines are connected to as,, C. Then O, O, and OC are the same colour. iv. Explain what happens if at least one of, C, or C is the same colour as O, O, and OC. What happens if none of, C, or C are the same colour as O, O, or OC? v. Explain why there must be a winning strategy. 9

10. ** game for two players uses four counters on a board which consists of a 20 1 rectangle. The two players alternate turns. turn consists of moving any one of the four counters any number of squares to the right, but the counter may not land on top of, or move past, any of the other counters. For instance, in the position shown below, the next player could move D one, two or three squares to the right, or move C one or two squares to the right, and so on. The winner of the game is the player who makes the last legal move. (fter this move the counters will occupy the four squares on the extreme right of the board and no further legal moves will be possible.) In the position shown below, it is your turn. Which move should you make and what should be your strategy in later moves to ensure that you will win the game? C D Take turns, placing,, C, and D on the following puzzles, see if you can find a winning strategy with a friend. 11. ** Sprouts. With a partner, draw one to four dots on a page. Take turns, where each turn consists of drawing a line between two dots (or from a dot to itself) and adding a new dot somewhere along the line. You must follow three rules: ˆ The line may be straight or curved, but must not touch or cross itself or any other line ˆ The new dot cannot be placed on top of one of the endpoints of the new line. Thus the new spot splits the line into two shorter lines ˆ No dot may have more than three lines attached to it. line from a spot to itself counts as two attached lines and new dots are counted as having two lines already attached to them. Whoever makes the last move loses (Misere play). Can you determine if there is a winning strategy for 1, 2, 3, and 4 initial dots? 1 1 This game is actually played competitively. Notes from http://en.wikipedia.org/wiki/sprouts_(game) 10