A Game With Coins

The applet below is a simulation of a two-person game that could be played on a table top with a sufficient supply of coins. The coins of various denominations are arranged in a chain (e.g., a row, a semicircle) with two "end points" and the others each having two neighbors. A move consists in removing an end coin, whereby the coin's immediate (and the only) neighbor becomes naturally an end coin available for the removal on successive moves. When all the coins have been removed, the game ends, and the players count their bounties. The player with the larger amount wins.

The applet allows some variations. First, the coin can be arranged in a loop, in which case the first player is allowed to remove any coin. After that the game continues as before. The applet uses 4 US coins: a penny (1 cent), a nickel (5 cents), a dime (10 cents) and a quarter (25 cents), but, in addition, it can also display a sequence of small random numbers.

At the outset, you can force the computer to make the first move by pressing the "Make Move" button.


This applet requires Sun's Java VM 2 which your browser may perceive as a popup. Which it is not. If you want to see the applet work, visit Sun's website at http://www.java.com/en/download/index.jsp, download and install Java VM and enjoy the applet.


Buy this applet
What if applet does not run?

Can the first player always guarantee a win or at least a draw?

Discussion

|Contact| |Front page| |Contents| |Store| |Eye opener|

Copyright © 1996-2012 Alexander Bogomolny

If the number of coins is even, the first player can guarantee at least a draw, and the proof is pretty simple. Number the coins according to their order in the arrangement: 1, 2, ..., 2n, where 2n is the number of coins. Sum up the odd numbered denominations and, separately the even numbered ones. If one of the sums is greater than the other, the first player wins by sticking with the appropriately numbered coins. This is always possible. For example, assume the even numbered coins add up to more than the odd numbered ones. The first player then picks the last coin (numbered 2n). The two remaining end coins both now have odd numbers: 1 and 2n-1. Whichever is selected by the second player, the first player on his/her second move can always choose an even numbered coin, and so on.

In a loop, the first player has more freedom to choose a coin: any coin will do whose number is of required parity.

With an odd number of coins, the situation is less straightforward. Say, with coins 1, 5, 1, the first player is bound to lose. With a three coin sequence 5, 1, 5, the first player wins effortlessly.

So the game is really pretty simple. But, if nothing else, it provides an entertaining arithmetic drill suitable for young children.

References

  1. P. Winkler, Mathematical Puzzles: A Connoisseur's Collection, A K Peters, 2004

|Contact| |Front page| |Contents| |Games| |Store| |Eye opener|

Copyright © 1996-2012 Alexander Bogomolny

 40601132

A math books store at a unique math study site. Shopping at the store helps maintain the site. Thank you.
Sites for teachers
Sites for parents
Terms of use
Awards
Interactive Activities

CTK Exchange
CTK Wiki Math
CTK Insights - a blog
Math Help
Games & Puzzles
What Is What
Arithmetic
Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Stories for Young
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Old and nice bookstore
Other Math sites
Front Page
Movie shortcuts
Personal info
Privacy Policy

Guest book
News sites

Recommend this site

Sites for parents

Education & Parenting

Search:
Keywords:

Google
Web CTK
Supported by
3wVentures