Question

A subtraction game Subtraction games are two-player games in which there is a pile of objects,...

A subtraction game Subtraction games are two-player games in which there is a pile of objects, say coins. There are two players, Alice and Bob, who alternate turns subtracting 4.9. A SUBTRACTION GAME 19 from the pile some number of coins belonging to a set S (the subtraction set). Alice goes first. The first player who is unable to make a legal move loses. For example, suppose the initial pile contains 5 coins, and each player can, on his turn, remove any number of coins belonging to the set S = {1, 2, 3}. Who wins? Alice goes first. On her turn she removes 1, 2, or 3 coins from the pile. If she removes 3, then the game reduces to a 2-coin game with Bob going first. Bob wins on his next move. Similarly, if she removes 2, then the game reduces to a 3-coin game with Bob going first, and Bob wins on his next move. But, if she removes 1, then the game reduces to a 4-coin game with Bob going first, and no matter what move Bob makes, Alice wins on her next move. In any subtraction game, the winner can be determined if we know how many coins are in the pile, and which player is next to play. Suppose there are n coins in the pile. If the player next to play take some coins and leave a position from which the opponent (who becomes the player next to play) has no winning strategy, then he can win. If he can not do this, then every legal move leaves a position from which the opponent has a winning strategy, and so the player whose turn it is cannot win.

Consider the following variation of the subtraction game. Each player can (only) remove 1 or 2 coins from the pile on their turn and, now, the last player to move loses (i.e., the player who takes the last coin loses). Suppose Alice and Bob play this game starting from a pile of 15 coins, and Alice makes the first move. Who wins?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Alice A hn alhuha do A ll win Bos take ten o me几 nln and moves o and the pme ad of Mov phlon tohank you

Add a comment
Know the answer?
Add Answer to:
A subtraction game Subtraction games are two-player games in which there is a pile of objects,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT