Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Fitch's Card Trick
Author

Zhe Hu
Revision date

2005-02-08
Description

I wasn't a card magician before. After reading Michael Keleber's paper [1], "The Best Card Trick" (Mathematical Intelligencer 24 #1, Winter 2002), I want to become one. However, the card trick described in his paper needs an assistant in addition to the magician him/herself to perform. Five cards are selected from a deck. An assistant orders 4 of the cards. The magician looks at the 4 cards, and announces what the fifth card is.

I had to write this Mathematica program to be my assistant. Though awkward at programming user interface, I took it as a smaller challenge than finding an assistant. On the other hand, if you are luckier to find an assistant, this program can still be a training tool for both of you.

Most important of all, the only obstacle for your becoming a card magician, not the lack of a clever assistant, is to read that paper (http://people.brandeis.edu/~kleber/Papers/card.pdf).
Subjects

*Mathematica Technology > Application Packages > Wolfram Research Applications > GUIKit
*Mathematics > Discrete Mathematics > Combinatorics
*Mathematics > Recreational Mathematics
Keywords

Fitch, card trick, GUIKit
Downloads

Download
CardMagic2.zip (34 KB) - ZIP archive [for Mathematica 5.1]