The Electronic Ouija Board box from The Boy Who Opened Boxes.
You sit at the computer, because it is your turn. The screen is black and red, and a box warns you that “the OUIJA magick is nothing to fool with and it may expose you to psychological forces with which you cannot cope”. Everyone holds hands, watches the pentagram, and says the incantation aloud: “Satan sutitatus dominum audiens…”. A soul named Sonya takes over the machine, and you type, politely, “Sonya, please respond to the following question”. Then you ask your question out loud, something only you could know, and the screen goes looking for souls in pain, and spells out the answer.
It is right. Your face goes serious and pale. Behind you, two kids are trying very hard not to laugh.
Victor scared me first
Section titled “Victor scared me first”My cousin, Victor Bravo, is four years older than me, and he had an older electronic ouija, a program called Wizard whose only medium was named Liza. He used it on me first, and it worked, a little. Then I found out how, and that Liza was full of bugs, and we got so excited that we decided to write a better one. Victor was the one who had taught me C, though by then I had long since passed him, so we split the work: I sat at the keyboard and coded, in C with Borland’s compiler, and Victor came up with how things should work, and with many of the phrases the souls say.
For years I said we wrote it in 1991, and I put that year on my website in 2002, but it can’t be right: in 1991 I was sent to spend a year in Italy. The files agree. The only ones from 1991 are the graphics and keyboard routines we built it on, Mark Betz’s, from the Gamers Programming Workshop, which is probably where my 1991 came from. The first dates that are ours are from August 1996, on the little tool that stamps the program for its self-check. So it was the mid-1990s.
Ours had more of everything. A cast of wandering souls instead of one medium, each with a name and a number. A warning box that promised “THIS IS NOT A FARCE!!! As a former follower in the ways of the Occult I can guarantee the legitimacy of this”. Credits for an “expert system database, based on routines by Satanas”. And a second incantation at the end, “Cerum exentus, nom responsabiliti”, so the souls could not be blamed for anything.

The trick is in the politeness
Section titled “The trick is in the politeness”The souls are always right because whoever sits at the keyboard tells them the answer, and nobody watching can see it happen.
Press . while typing “Sonya, please respond to the following question”, and the program
switches to hidden typing. From then on, whatever you type is stored as the answer, while the
screen keeps printing the polite sentence, one letter per keystroke, as if you were still
typing it. Press . again to switch back, finish the sentence, and let your friend ask their
question aloud. The answer was in the machine before the question was asked.
Reading it again, I can see how much we cared about the person running the trick. Backspace edits the hidden answer. The hidden buffer can’t overflow. Any key during the search for souls cancels a planted answer, in case the question turned out to be a different one, and an answer of only spaces is thrown away. While it searches, a line reads “SOUL 3-6F11 WITH 1 ANSWER!” or “(NO ANSWER!)”: spooky to the audience, and a quiet confirmation for the operator that the answer took.
Rounds
Section titled “Rounds”Then we went on rounds. Friends, family, everyone who would sit down. You could watch it happen in their faces, the moment the joke stopped being a joke and they went serious and pale. One friend kissed the monitor. Another started praying in Latin, which seemed fair, since the program had started it. We were wicked.
When I rebuilt it in 2002 and put it on my website, with an English version next to the Spanish one, I added the only advice that mattered: “if you go too far and scare someone far beyond acceptable (and believe me, this is real easy once you’ve got them) tell him about the trick”. I stand by it.
The show
Section titled “The show”Half of the fun was everything around the trick. On launch the screen announces “System
missing or er…” and stops mid-word, sprays random characters to a scatter of beeps, then
recovers, possessed. It once refused to start unless you passed it 666. When it asks whether
you believe in God and the Devil, it types y, e, s, one letter per key, whatever keys you
press.
The font is my favorite part. We drew our own 256 characters and loaded them into the video
card with one BIOS call (INT 10h, function 1100h), and every row of every glyph in the
source carries a comment that draws its pixels, /* ███████░ */, so the font is its own
picture. The same glyphs, reused as tiles, draw the pentagram.
And it guarded itself. Every run, the program checks its own executable against a stamp, and if you patch it, it delivers a goodbye too rude to quote here and deletes itself. Two kids were very serious about protecting their séance.
Reading it again
Section titled “Reading it again”The code looks like what it is. main is a single function of 5,549 lines, steered by 13
labels and 31 gotos (Boo, Booo, Booodos, and so on). Today it would be a small state
machine with a function per scene. But QuickBASIC came first, and I had picked up C on my own,
so I wrote it the way I had written BASIC: top to bottom, jumping to a label whenever I needed
to be somewhere else.
The souls’ names and their answers are stored as code: 4,496 lines like badguy[0]=68; // D, one character per line, 77% of the file. That was on purpose. A table of strings would
have put every answer in plain sight for anyone who opened the executable in a file viewer, and
I didn’t want anyone peeking: written one character at a time, not one answer appears as
readable text inside it. It worked, at the cost of three quarters of the source. Today I’d keep
the phrases in a table, scrambled, with a short loop to unscramble them as they’re shown, which
hides them just as well, and is the trick I did reach for years later in
BestLyrics. For the English version I later wrote two little
programs, GUYS and QUOTES, that showed each Spanish phrase, asked for its translation, and
generated the source, already halfway to that table.
The bugs are the ones C hands every beginner. The program reads your name with scanf("%s")
into ten bytes, so a long name tramples the stack. In the Spanish version every one of the ten
scripted sentences is exactly 50 characters, copied into a 50-byte buffer, so every run writes
one byte past its end. The self-check, before deleting the program, overwrites it without
checking that the file opened, which on a write-protected floppy crashes instead. And a
counter variable is named caca, which is Spanish for
exactly what it sounds like.
Measured against the mid-1990s instead of against today, the parts that stand out are the ones
around the trick. Loading our own character set into the video card was something demos and
polished commercial programs did, not hobby programs, and we drew every one of its 256
characters by hand. A self-check that refuses to run a patched executable is what shareware
authors used to protect their income; we used it to protect a joke. What stands out the other
way is that none of the mess was the era’s fault: Borland’s compiler handled functions, arrays
of strings and data files as well as any compiler does today. The giant main was BASIC habit.
It still runs, in DOSBox. The English and Spanish versions, the source, and the trick are on its project page and on GitHub at Kronuz/Ouija. Use it responsibly, and tell them about the trick.