Skip to content

Platane/clapping-magic-card-trick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

48 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Clapping magic card trick

An stunning magic card trick. Use the microphone to communicate to your computer the picked card.

real life demo

wercker status

play

version history

Usage

Present the screen to your audience. Ask them to pick a card and to memorize it.

Place the card in deck mode by clicking anywhere on the screen.

Now ask someone to whisper in your ear what the card was.

Improvise a goofy dance to transmit the picked card as a sequence of clap. ๐Ÿ‘๐Ÿ‘

The card appears on screen without you interacting with the computer. ๐Ÿ˜ฎ

Sequence

The clap sequence consist in a start clap, followed by 4 checkpoints where you should clap or not clap.

starting clap 
    |
    v
   -x---------------------x---------------------x-------------------x-------------------x----->
                     color is โšซ         card is โ™ ๏ธ๏ธ๏ธ๏ธ or โ™ฆ๏ธ๏ธ       value is peer           value > 2
    ๐Ÿ‘                    -> ๐Ÿ‘                 -> ๐Ÿ‘               -> ๐Ÿ‘               -> ๐Ÿ‘
                                        ( aka the symbol
                                          is pointy on top )

example :

The audience pick the 3 โ™ฆ๏ธ.

  • The card is ๐Ÿ”ด -> x
  • The symbol is pointy -> ๐Ÿ‘
  • The value is not peer -> x
  • The value is > 2 -> ๐Ÿ‘

The clap sequence is: ( ๐Ÿ‘ to start ) ...x...๐Ÿ‘...x...๐Ÿ‘

It's important that you determine and memorize the clap sequence before starting to clap so you can distract the audience with an elaborated dance.

Training

hint

It can be hard to guess the perfect timing, we will have to train. Notice that you have a small hint on the top left corner of the screen.

hint

The hint looks like =oo-.... which can be split in 3 parts:

    =           |         oo-             |       ....
audio level     |    current sequence     |   delay until next clap check

The hint is meant to be discrete, so your audience does not suspect a thing.

training mode

To practice this trick, you can enter "trainig mode" by double clicking instead of simple click at the very start, to place the card in deck mode.

hint

In training mode, the interval between two clap checks is larger, and cards will align to show you when you have to clap or not.

The card on the first row are the ones selected if you clap at the next check. The second row are the ones selected if you do not clap.

About

โœจ๐Ÿ‘๐Ÿƒ a stunning card trick submitted at the js1k 2017 challenge

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published