An AI-powered card trick that will astonish your audience.
ð±
You will need: a standard 52-card Bicycle-style deck, a flat surface, and good lighting. This app works best on a smartphone.
ð« Microphone access was blockedChrome on desktop:
1. Click the ð or â icon in the address bar
2. Set Microphone to Allow
3. Reload the page, then try again
Chrome on Android:
1. Tap the ð icon â Permissions â Microphone â Allow
2. Reload and try again
Safari on iPhone/iPad:
1. Open Settings â Safari â Microphone â Allow
2. Return here and tap the button again
We shuffle 52 cards thoroughly. Before anything else happens, Little Trot writes down four predictions that seem impossible to get right. After the shuffle, we turn over a random number of cards, mix face-up and face-down cards together, then go through a specific handling sequence. Little Trot then reveals all four predictions â and every one is correct.
Why Shuffling Seems to Make Prediction Impossible
When you shuffle a deck there are 52! (52 factorial) possible distinct arrangements:
Every time you shuffle a deck well, you are almost certainly creating an arrangement that has never existed before in the history of the universe â and likely never will again.
The Four Predictions â A Real Example
Here is what Little Trot predicted in one actual run of the trick:
Exactly 21 cards will remain face-down
Exactly 14 of those will be black
Exactly 7 of the black cards will be spades
The spades will be exactly:
Qâ Jâ 9â 8â 6â 5â 2â
If It Were Pure GuessworkâŠ
Predicting exactly 21 face-downFace-down count could be 0â52 (53 values)1 in 53
Exactly 14 of 21 are blackC(26,14) à C(26,7) ÷ C(52,21) â 3.3%1 in 30
Exactly 7 of 14 black are spadesC(13,7)² ÷ C(26,14) â 30.5%1 in 3.3
Naming the exact 7 spadesC(13,7) = 1,716 possible sets of 7 spades1 in 1,716
All four predictions correct1 in ~9,000,000
53 Ã 30.2 Ã 3.28 Ã 1,716 â 9,010,000. A probability of roughly 0.000011%.
ð Tap to reveal the real secret
In reality, the trick is self-working and 100% guaranteed. The probability is 1 â not 1 in 9 million.
The "random" mixing procedure does not actually allow full freedom. The specific sequence of taking halves, flipping them over, and merging exploits a mathematical principle related to the Gilbreath principle. This principle forces the face-down cards at the end to be exactly the cards from the two rows chosen at the start â regardless of how many are turned over or how the mixing is done.
The face-down count, the black count, the spade count, and the exact spade identities are all determined entirely by which two rows were selected before any mixing happened. Little Trot reads which rows you chose, instantly computes all four predictions, and writes them down. The mixing procedure is theatrical: it looks random but the mathematics guarantees the correct outcome every single time, with no possibility of failure.
Step 1 â Lay out the cards
Little Trot says
Hello! Shuffle the pack thoroughly, then lay all 52 cards face-up in four neat rows. Keep the cards straight â a tilted card can be misread. Leave a clear gap between rows and make sure the top-left corner of every card is visible.
If the four rows of cards are now laid out, you can take the photograph.
ð± iPhone users â switch to JPEG first
Go to Settings â Camera â Formats â Most Compatible. Only needs doing once.
Tap image to use this demo photo
Take the photo
Hold phone directly above the cards in portrait mode, then tap ð· Capture below.
Tap image to use this demo photo
Check the photo
ðž
Photo ready
Your HEIC photo will be sent at full resolution.
Little Trot says
Please check that you can see all cards and none of them are cut off at the edges, and that the corner of every single card is clearly visible so that it is possible to see both the rank and the suit. If it's okay, please click the button below. If not, go back and retake the photo.
Reading the cardsâŠ
AI is identifying all 52 cards â about 20 seconds.
Cards identified â
All 52 cards read in order â Row 1 · Row 2 · Row 3 · Row 4
Tips for a better photo:
⢠iPhone: Settings â Camera â Formats â Most Compatible (switches to JPEG)
⢠Hold your phone vertically (portrait mode â taller than wide)
⢠Straighten every card â even a slight tilt can cause the suit to be misread
⢠Make sure the top edge of each row forms a perfectly straight line
⢠Tidy the cards so they are evenly spaced with a bigger gap between rows
⢠Make sure the top-left corner of every card is clearly visible
⢠Shoot from directly above in good, even lighting
Step 2 â Choose two rows
Little Trot says
Tap the two rows the audience picks, or say the row numbers aloud:
ð Magician's Secrets
Keep this screen hidden from the audience.
LEFT PILE â â cards
RIGHT PILE â â cards
Your four predictions
1. Face-down cards:â
2. Black cards:â
3. Spades:â
4. The actual spades:
â¡ Fast Demo
Little Trot says
ð
1. Chosen rows â left pile (face-down). Other rows â right pile. Shuffle both.
2. Rotate both piles into fan shapes.
3. Twice: half left â flip â middle â into right. Then half right â flip â middle â into left.
4. Once more: half left â flip â middle â into right.
5. Flip entire right pile. Push right into left. Spread cards. Remove all face-up cards.
Listening for "done"âŠ
Little Trot says
Listening for your responseâŠ
ð« Microphone access was blockedChrome on desktop:
1. Click the ð or â icon in the address bar
2. Set Microphone to Allow
3. Reload the page, then tap ð€ Allow microphone access again
Chrome on Android:
1. Tap the ð icon â Permissions â Microphone â Allow
2. Reload and try again
Safari on iPhone/iPad:
1. Open Settings â Safari â Microphone â Allow
2. Also check Settings â Privacy & Security â Speech Recognition â Safari â on
3. Return here and tap ð€ Allow microphone access again