A university project explaining a phenomenon of a coin tossing game called Penney Ante.
This project has been originally written in Mathematica. Parts of the original project have been later rewritten in Java as a simple frame application.

Penney Ante is a coin tossing game invented in 1969 by a mathematician called Walter Penney. It is played by two players. Each player selects a pattern of three heads and tails. The two patterns must be different. The players then flip a fair coin repeatedly until one of the patterns appears. The winner is a person whose pattern appears first.

Although initially the game appears to be fair, it is not in general. There is no best pattern that beats all others. The best we can do is let our opponent go first and then choose the best possible option that beats his particular pattern. To do so we need to be able to define relations between each two patterns. And this is where the fun begins.

See wiki for a full project description.

Project Samples

Project Activity

See All Activity >

Categories

Education

License

GNU General Public License version 2.0 (GPLv2)

Follow Coin Games

Coin Games Web Site

You Might Also Like
Automated quote and proposal software for IT solution providers. | ConnectWise CPQ Icon
Automated quote and proposal software for IT solution providers. | ConnectWise CPQ

Create IT quote templates, automate workflows, add integrations & price catalogs to save time & reduce errors on manual data entry & updates.

ConnectWise CPQ, formerly ConnectWise Sell, is a professional quote and proposal automation software for IT solution providers. ConnectWise CPQ offers a wide range of tools that enables IT solution providers to save time, quote more, and win big. Top features include professional quote or proposal templates, product catalog and sourcing, workflow automation, sales reporting, and integrations with best-in-breed solutions like Cisco, Dell, HP, and Salesforce.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Coin Games!

Additional Project Details

Languages

English

Programming Language

Java

Related Categories

Java Education Software

Registered

2013-01-16