Back to Magic
Back to Magic
Most of the playables here were made with help from a bunch of LLMs from within Windsurf. I mostly used Claude 3.7 without thinking, but frequently also appealed to Gemini, GPT-4o and Deepseek. Any bugs in the implementations here are very likely prompting error :) Please leave a comment if you find an issue, or if you have any suggestions! The interactives are best viewed on desktop and are not particularly optimized for mobile.
We start with ten cards, and perform CATO as many times as we want. The split the cards off into two piles so that all cards in even positions are on one pile and all cards in odd positions are on another. Turn one pile over another, and observe that you ALWAYS end up with 5 face up cards!
Number of face up cards at odd positions: 0
Number of face up cards at even positions: 0
Now let’s setup a situation where we not only get five face-up cards, but also expose a royal flush: 10♥, J♥, Q♥, K♥, A♥ (or any subset of five cards that we want to rig). Start off with 10 high cards (10, J, Q, K, A of hearts and spades), and follow the following process:
- Shuffle cards thoroughly.
- Deal in pairs, asking volunteers to “keep” or “flip” each pair.
- Group into fours, again choosing “keep” or “flip.”
- Deal into four rows of five; alternate dealing directions.
- Fold rows from sides chosen by volunteer until one pile remains.
Alternately, you can just split the cards into left and right piles with odd and even cards and flip the cards over.
- Outcome: Only the hearts (Royal Flush: 10♥, J♥, Q♥, K♥, A♥) face up; all others face down.
This works because:
- When you pair cards up, make sure that you can only see a heart card. Therefore:
- if you have two spades, hold them facing each other
- if you have two hearts, hold them with their backs to each other
- if you have a heart and a space, hold the heart card on top of the spade, both face up, with the heart card hiding the spade
- Hearts always positioned face-up (odd positions) or face-down (even positions).
- It’s the opposite for the non-heart cards.
- Final folds preserve odd-even logic, ensuring hearts remain consistently positioned.