Card Trick

1. Write the face value of the card that you selected on a piece of paper.
      The aces and face cards have the following values:
      Ace = 1,   J = 11,   Q = 12   K = 13.
2. Double the face value.
3. Add 3.
4. Multiply by 5.
5. If the card you selected is a club, add 1; a heart, add 3; a diamond, add 2; or a spade, add 4.

Now tell me your answer and I will show you the card that you selected:

 
 
 

Many thanks to Jaime Garcia Ramirez for helping me with the javascript!

 

Click here to run again

Click here to see why it works