Welcome to
The Machine



Created and maintained by J.M. Chabloz, with the help of the greatest consortium of magicians and visionaries that ever came together:



jmc-magic.com

Scanning

Press and hold the button to initiate scan.

Scan Progress: 0%

Prediction Completed



Prediction generated in s.



digital crystal balls analyzed.

algorithmic tea leaves interpreted.

decks of virtual tarot cards shuffled.

electronic sheep's entrails recreated and observed.

STOP

Prediction starts below.

You will pick HEAD
You will pick HEAD
You will pick HEAD
You will pick HEAD
...and you will pick TAIL...
...and then HEAD again...
You will change your mind several times in your head...
...but in the end...
...you will choose...
TAIL

Free will is an overrated concept.



Thank you.



jmc-magic.com

Instructions

Welcome to the secret area of this website. Here you will find the instructions to perform this trick for your audience.

In a nutshell, what is this trick?

This trick is a strong piece of mentalism with un unconventional hook.

From the point of view of the spectator, what happens is that the magician gives them a web address to connect to with their mobile phone. Once they reach the page, the magician gives them a password, they type it in, they press a button and a prediction is generated.

The magician explains that this prediction contains four separate HEAD / TAIL predictions for four mental coin tosses (free HEAD / TAIL choices). Three times in row, the spectator announces their choice - HEAD or TAIL - the magician asks them to scroll down in the prediction page, and, each and every time, the prediction on the page matches their free choice.

The fourth time, the magician announces them that, to remove all doubts about cheating, this time they are not even going to announce their choice out loud, it will just exist in their head. They make their choice, they scroll down the page, and, incredibly, the prediction matches again.

Features:

In a nutshell, what is the method?

Timers! For the first three reveals, every time that the spectator announces their pick, you either let them scroll down immediateley to the next reveal, or you talk for a while and delay the scrolling. After a 20 seconds delay, the text on the reveal changes.

The last reveal, in which they do not even announce their choice out loud, is based on the combination of a timer, clever wording and multiple outs. When the spectator scrolls down to the fourth reveal, it might or might not match their mental pick. If it matches, a clever psychological trick will make the spectator stop scrolling until all what comes after the reveal is deleted by a timer expiration. If it does not match, you ask them to just continue scrolling, and they will discover that, actually, what they thought was a wrong reveal was just a part of a longer reveal, that ultimately matches their choice.

What is the password to activate the machine?

The password is cgmcmj. It is case-insensitive, so it doesn't matter whether or not some or all letters are written in capitals. The password is "jmc magic" written backwards and with no vowels, so you can remember it easily. You should not tell this to your audience, though. Just tell them the letters, one by one, and let them enter them in the password field.

The main reason why there is a password system on the page is to prevent the spectator from reloading the page and generating new predictions once your performance is finished. And that is also the reason why the password is relatively complex: if the password was a simple word, like "future", it would be easy for the spectator to remember it. After your performance, they would be able to reload the page, generate a new prediction, and gain a significant, even if uncomplete, insight on how this trick works.

By asking the spectator to add letters and numbers at the end of the password, you can add a few modifiers that change some parameters of the trick to better suit different performers (for example, you can control the durations of the timers). This is discussed in a later section on modifers.

How is the trick performed?

You are of course free to come out with your own presentation for the trick, but I suggest to begin by talking to your audience about "The Machine", an experimental magical machine to predict the future, created by a consortium of magicians. You give them the website and they navigate to it with their mobile phones. You could even print yourself out a sticker with a QR code, if you prefere. Feel free to tell the spectator that you also recently did some consultancy on the project, and that, as a result, you were given the password to generate predictions.

Explain that predicting the future is extremely hard, but that, after years of improvements, the machine is now able to predict up to four "mental coin tosses" (mental HEAD / TAIL choices). If you and the spectator are in the right mood, you can fill in with funny details: "in the early 2000s, before my time, they could predict one coin toss 80% of the time, and that was all, but then the machine kept improving... If I remember well, 2012 was the first time they could consistently get two mental coin tosses right, which was a big thing in the magic community... Now they are up to four."

Tell the spectator that, after the prediction is generated, they will be asked four times to choose "HEAD or TAIL" in their head, and that the machine's prediction will always match their choice.

Once it is time to continue, give the password to the spectator (append modifiers at the password end if you so desire, to personalize the trick). Do not say "the password is jmcmagic written backwards without vowels", just give them the letters one by one. You do not want them to remember the password afterwards.

Hold on for 11 seconds, while the machine "does its work". You can talk about how "nobody really understands how the machine really works - so many talented magicians have come together to build it, and everyone has only knowledge about their own little part, since everyone is so secretive. This creates hype, and hopefully makes the spectator curious and invested in what's going on.

Once the prediction page appears, take your time before continuing.

It is very important, at this point, to explain to the spectator that the page contains the predictions, and that they will have to scroll down to see them. Tell them very clearly to scroll down slowly, because you want to reveal the predictions one by one, and you don't want them to see, by mistake, a prediction meant for later.

If the spectator scrolls down the page without being careful, the trick will fail - you do not want that to happen. There must be hype and tension, the spectator cannot be too relaxed, or they might just casually scroll down after making their choice.

To mitigate this, if you have a table, ask the spectator to lay their mobile flat on the surface, so "we can all see what's going on". This way, scrolling requires a more unnatural and unfamiliar motion compared to when the mobile is in their hand, and they will be more unlikely to just casually scroll. Also, having the mobile lying flat, with everyone's eyes on it, will make the reveal seem more "serious", pushing the spectator to scroll slowlier and more carefully.

The other mitigation you can use, is asking the spectator to look you in the eyes when making their mental coin tosses. This way, they will necessarily have to lift their eyes from their mobile, and, again, this will prevent them to casually scrolling down after making their choice.

Still, if you sense that the spectator is not trustable and might casually scroll before you tell them to, then it is probably best that you get the mobile phone in your own hands and do the scrolling yourself. It's a little less strong, but it is much safer. If you choose to go down this route, the spectator will probably not object to you getting their mobile out of their hands, since at this point they do not know anything about how the prediction page is structured, and they might think that reading the predictions is a complex operation, for which you are needed. They still don't know that it's just a matter of scrolling down, at this point.

One other thing that you can optionally do, at this point, is to ask the spectator to turn off the wi-fi and to put their mobile in airplane mode to "isolate it from the world and prevent anyone to enter their mobile to change the prediction". However, I would recommend against doing that, because it interferes with the flow of magic and introduces unnecessary suspicion, with the exception of when performing remotely to someone over a video-link. On a video link, maybe the spectator might think that you are secretely sending information to their mobile, and asking them to put their mobile on airplane mode might be a good way to appease their worries.

There is some funny text under the header of the prediction page - text about crystal balls, tea leaves, tarot cards and sheeps' entrails. If you don't like it, consider activating "serious mode" by appending the letter "s" to the password you give your spectator. You can point out to the spectator that these are all code words, to indicate different parts of the machine's prediction algorithm - the magicians in the consortium are very secretive and have a twisted sense of humor, apparently!

Once you are done with talking and exploring the top of the page, it's time to start scrolling. Ask your spectator to scroll down to the STOP sign.

As soon as the STOP sign appears on the screen, the first timer starts. Now, if they scroll down to the first reveal within 20 seconds, the reveal will say "You will pick HEAD". If it takes them longer than that, the reveal will say "You will pick TAIL".

Note that, as soon as the first reveal appears on the screen even for a fraction of a second, it will be locked forever. All reveals on the page work in this way, which ensures that reveals do not ever change once they are seen by the spectator. This guarantees that, from the point of view of the spectator, the page will always look like a static page containing just formatted text and no weird, changing elements.

Ask the spectator to look you in the eyes as they make and announce their choice: HEAD or TAIL.

If they say "HEAD", just calmly ask them to scroll down to the first reveal. This might be a good time to reiterate to please scroll slow, so they don't accidentally show the second reveal.

If they say "TAIL", then it is time to talk, in order to delay their scroll. My suggestion, for every time you have to talk and gain time, is to talk about the fact that, based on statistics, the spectator's choice is the less common option among all the ones that were available. On the first reveal, tell them that you just read the statistics from The Machine, and saw that actually TAIL is chosen around 43% of the time, while HEAD is chosen 57% of the time. Tell the spectator that this is maybe counter-intuitive. Most would think that, when given a binary choice, most people would go for the second option in order to try tricking the machine. Or you can mention that there are other famous studies coming to similar conclusions. Whatever. Just babble for a while, then pause, create hype - you are not on a timer and can take your time - and finally ask the spectator to scroll down slowly to the first reveal.

Once the first reveal appears, the second reveal timer starts automatically.

Once again, ask the spectator to look you in the eyes and make their choice.

Again, if they pick HEAD, tell them to scroll down. You have 20 seconds, so there is no need to look suspicious by being too much in a hurry.

If they choose TAIL, again, you have to talk to delay their scroll. They either chose TAIL twice, or they chose HEAD and then switched to TAIL. My suggestion is that you discuss how the action they took (same choice twice, or choice switch), is the most uncommon based on the statistics. If, for example, they choose two tails in a row, tell them that, based on the statistics, 58% of the people always change their choice when making two mental coin tosses in a row. Just like for reveal 1, talk about how other studies are confirming this, etc. After you babble for 20 seconds, pause, create some hype and then ask your spectator to scroll down.

Once the second reveal appears on the screen, the third timer starts automatically.

Repeat the procedure for the third time: ask them to look you in the eyes and make their choice. Based on the choice they make, either ask them to scroll directly down, or talk for a while about statistics, or - if you so prefere - about how hard it is to predict a person's choice, and about how amazing the machine actually is.

A potential problem that might occur, once in a while, is that a spectator chooses HEAD, but you get interrupted by something during the performance and too much time passes. There is an emergency procedure to recover from this, which you can read about in a later section on the emergency maneuver.

Also, if you want your trick to be as hard to backtrack as possible, you can decide to perform your trick in "inverted mode", by adding "i" at the end of the password you provide to the spectator. In this case, the second reveal is inverted: it will be TAIL if you scroll immediately, and HEAD if you wait. The idea behind this is that the spectator will not be able to identify the pattern "waiting equals TAIL" because it is not consistent in this mode. You can read more about in the section about modifers.

Once you reach the third reveal, you are not on a timer. You can therefore take your time to talk to the spectator about the fantastic feat of foresight that the machine just pulled off. Then, talk about the final step. To prove beyond any reasonable doubt that the machine really works, this time the spectator will not even tell out loud what their choice is - they will pick a value and the value will just stay in their mind. It is important that you ask them to do their last choice in a very specific way: you want them to "pick a value in their head", then "switch and pick the other one" and then "switch again and pick the other one, and then the other one, and then the other one, and so on and so on". Tell them you want them to continue switching their pick for a while, and then make up their mind and stop switching. Explain them that this procedure will ensure that the final choice is "as random as possible". And tell them that you don't want them to say anything out loud about their choice: the choice must be just in their head.

Let them do their choice based on this procedure. When they are done, you can create some more hype by pointing out how unbelievable it would be for the machine to pull even this last prediction off, and then tell them to scroll down. By this point, they should have understood that they schould scroll slowly. The fourth reveal always says "You will pick HEAD". Once it comes into view, a fourth and final 20 seconds timer is started. At this point, one of two things will happen.

The first possibility is that, when the fourth reveal comes into view, the spectator will say "No, that's wrong" because they had chosen TAIL in their head. Without losing one beat, just tell the spectator "Scroll down, I think the prediction is not finished.". And as the spectator scrolls down, several predictions will come into view, one after the other. They will say: "...and then you will pick TAIL..." "...and then HEAD again..." "You will change your mind several times in your head..." "...But in the end..." "...You will choose..." "TAIL". And then the page will end. This whole series of reveals will make sense if you have used the correct procedure when asking the spectator to make their final choice. The initial "wrong" reveal will be considered by the spectator to just be "The Machine pulling a little joke on them, by pretending it got the prediction wrong when it actually got it right". At this point, the full page content will be absolutely fixed and never change again. The spectator is free to scroll up and down the page as they please, and will not see anything suspicious. They can reload the page, but they will be presented again with the initial password page and, unless they remember the password, they will not be able to regenerate a prediction and investigate the method.

If the spectator had chosen HEAD in their head and the reveal matches, they will be amazed and freak out. Tell them to stop there and don't go further with their scroll, because "there is a final prediction at the bottom of the page, which we will get to later". Now take your time to talk about what just happened: the machine just pulled off four guesses in a row, and the last one was even more amazing because the chosen value existed only in the spectator's head, so cheating was out of the question! Be sure to talk for more than 20 seconds - this should be easy to pull off, given the miracle that the spectator just witnessed. When you are sure that 20 seconds are gone, tell the spectator "Ok, look, there is one last reveal on the bottom of this page, it's one single word. Do you have any idea what that word is?" Hopefully they will answer "No". Tell them to scroll down, and surely enough, the word at the bottom of the page says "NO". The trick then concludes on this joke. The reason why the joke is important, is that you need an excuse for them not to scroll down immediately when the fourth reveal comes into view. If the last joke was not there, it would be extremely suspicious for you to ask them not to scroll any further when they reach the fourth reveal, but the suspicion is removed by the presence of the joke, which gives you a reason to stop their scroll. If they do not answer "No" to your last question, answering perhaps "I don't know", or something similar, no worries. Do not push them further to say "no", just tell them to scroll down and laugh with them, as you tell them that, obviously, the machine is still not perfect, and how they are the first person who didn't answer "No" to that question, managing to fool the machine at the last second. This, hopefully, will end the trick on a positive and good note.

Can't the spectator just look at the page code with their browser and understand the secret?

No, the page is obfuscated. If you try to inspect the source code of the page, you will just see a nonsensical mess. Code obfuscation is a procedure that takes human-readable code and transforms it into a code that does exactly the same thing, but is very hard to read. This means that the spectator cannot inspect the source code to understand the password, cannot inspect the source code to read the instructions you are reading now, cannot inspect the source code and see how the page works. Even for a determined and expert coder, armed with the right tools, deobfuscating this page would be a complex and time-consuming operation. Not impossible, but hard enough to make this be a non-concern.

Incidentally, the fact that the page is obfuscated is not suspicious in itself, since obfuscation is also a common technique to protect a webpage from unwanted modifications: without obfuscation, it would be simple for anyone to edit the source code of the page to show them as authors, and copy the page to their personal website. This is much harder to do with an obfuscated page. If someone wanted to remove the jmc-magic attribution from anywhere in this webpage and copy it to their website, they would need to deobfuscate the page first, which would be a very complex and costly operation.

Will this work on any mobile phone?

The page does not use any fancy technology, just standard webpage scripting (javascript) that should work on any browser from any reasonably modern mobile operating system.

What is the emergency maneuver?

The emergency maneuver is your insurance card. This trick is based on a timer. The first three reveals will show "You will pick HEAD" if they appear on screen before their timer runs out, or "You will pick TAIL" if they appear on screen after their timer has run out. You might, once upon a time, encounter an unpleasant situation in which the timer has run out, and you know that, as soon as the spectator scrolls down, the wrong reveal will be shown. For example, maybe on the first reveal, after you asked the spectator to make their choice, you got interrupted by someone who absolutely needed to recount an annoying anecdote. Once you could finally go back to the trick, you hoped that the spectator would choose TAIL, but, sure enough, their choice was HEAD.

This sounds like a hopeless situation, but, luckily, the emergency maneuver can save you. At any time you have at most one timer-sensitive reveal whose timer has started but that hasn't been shown yet. You can reset the reveal to its before-the-timer value by scrolling back up to the top of the page. So, if you encounter this situation, tell the spectator: "look, I will show you something cool, can you scroll back up to the top of the page?". The spectator will scroll up, and then you will point out any number that appears on screen. Maybe the number of crystal balls, or the number of tea leaves. If you are in serious mode, point out the number of seconds it took to generate the prediction. Explain to the spectator that, although there are many parts of the machine that you don't understand, you know that that number, when it is even (or odd) always shows that the first reveal is "HEAD". Now let the spectator scroll down to the first reveal, and, sure enough, it will say "You will pick HEAD".

What are the modifiers?

Magicians are all different, and, to accomodate different preferences, a few personalization opportunities have been introduced in this trick. These personalization opportunities, or "modifiers", are accessed by adding characters and numbers at the end of the password field. Three different modifiers are allowed, and can be combined. When combining modifiers, just append them in any order you want at the end of the password. Letters are case-insensitive and can be written in capital or small letters. Of course, do not mention to your spectator that these are modifers, treat the modifer letters as if they were a regular part of the password.

Appending an "s" at the end of the password will cause the machine to operate in "serious mode". The loading screen will report "Generating Prediction" instead of "Generating Prophecy" and the sentence "our algorithms are consulting the cosmic data streams" will be omitted. Once the prediction is generated, the "funny statistics" text about crystal balls, tea leaves, tarot cards and sheep's entrails will also be omitted. It's a mode designed for people with a more serious performance style, which could be put off by the comedy.

Appending an "i" at the end of the password will cause the machine to operate in "inverted mode". Although I think this is just a minor concern, it might be possible for some spectator to notice that every time the magician talks before the scroll, the reveal says "TAIL". Note however that this is not the case for the fourth reveal, just for the first three. But, anyway, to be as untrackable as possible, in inverted mode the second reveal is inverted: it will say TAIL if you scroll immediately, and HEAD if you wait.

Appending a two digit number between 10 and 99 at the end of the password will override the default 20 seconds timer with the value that has been input, to suit different magicians' preferences. If, for example, the number 35 is appended at the end of the password, then all timers will run for 35 seconds instead of 20.

As an example, telling the spectator that the page password is "cgmcmj25s" will activate serious mode and use 25 seconds timers.

What if the trick fails?

The webpage is designed in such a way that it should never catastrophically fail by exposing the trick - no reveal will ever change in front of the spectator's eyes. The worst thing that can happen is a wrong prediction.

If this happens, do not hesitate to put the blame on me and/or the other members of the consortium! "Hush!", say, "they really need to improve this machine!" Switch to some other trick, and show how your methods actually work better than the machine.

In other words, the fact that the author trick is clearly stated on the first page can be an advantage in case of failure: do not hesitate to blame him (me) for failures :)

I found a bug!

Sorry :-/ Please contact me at chablozjm@gmail.com