Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a variant of the game Nim, which we played in class. Recall that the rules of the game are the following: i. Two players

Consider a variant of the game Nim, which we played in class. Recall that the rules of

the game are the following:

i. Two players take turns to remove matches from several piles.

ii. Each player, when it is his or her turn to move, can remove any number of matches (at least

one and up to the entire pile) from any pile but not from multiple piles.

iii. The player who removes the last match wins.

We know that if there are only two piles and both piles have the same number of matches, for

example, (2, 2), then the player who moves second has a winning strategy, i.e. he is guaranteed to

remove the last match.

For each of the following cases, use the above result and apply the thinking ofbackward induction

to find out which player has a winning strategy and describe the winning strategy.

(a) (3pts) three piles (10, 10, 20)

(b) (3pts) three piles A, B, C having matches (3, 2, 1) respectively.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Energy, Trade And Finance In Asia A Political And Economic Analysis

Authors: Justin Dargin, Tai Wei Lim

1st Edition

1317322711, 9781317322719

More Books

Students also viewed these Economics questions

Question

8. Define modular development.

Answered: 1 week ago

Question

6. How can hidden knowledge guide our actions?

Answered: 1 week ago