Cinq-Mars Media: The Devil’s Calculator
The Devil’s Calculator is a game with a simple concept. You have a calculator with unknown operators replacing the normal calculator options of plus, minus, x, and dot line dot or whatever those are. You have to play around to figure out what the mystery operators do, and then use them to get the calculator to output 666
in some way.
The game has 68 base levels (there are post-game ones, and you can create your own, too) in a few distinct phases:
- Unary operators (or single-argument functions)
- Binary operators (or two-argument functions)
- Unary and binary together
- Number sequences (or mapping functions)
- Number sequences and one unary or binary
- All three types together
Number sequences are patterns, such as the Fibonacci sequence, where inputting a number n
refers to the n
th number in that sequence.
Within each phase, the first levels are easier, and they get harder as you go, following a rollercoaster-type pattern. After each of the first segments there are short montages that show you what the new operator type is (unary, binary, and sequence).
The input of numbers and functions can be complex or simple, with recursion and order of operations coming into play.
For example, with a unary operator &
, -
(unary negation), and the number 3
, you can do:
&3
&-3
-&3
-&-3
- Multiple uses of
&
on top of those above.
So, if &
is f(x) = -x + 1
, the outputs would be:
-2
4
2
-4
Approaching the Game
Each level has two parts:
- Figuring out the operators and sequences involved.
- Figuring out how to use those to create the number
666
.
I often found part two of the levels, getting that number out, to be harder than figuring out the level’s tools. Both parts are made harder at times by numbers and the decimal and plus/minus keys being possessed so that you cannot use them. On the other hand, that possession also gives a clue that having those keys might make things too easy.
Players should use all the tools at their disposal. The game itself includes references and links to Wolfram Alpha (Wolfram|Alpha) and the Online Encyclopedia of Integer Sequences (OEIS). I used the latter for several of the sequence levels, but instead of Wolfram Alpha I tended to use Python scripting when I needed a leg up on some of the calculating.
Players should also keep a list of their answers, including what they understood the operators and sequences to be, as some of them are reused, and even looking at what you’ve done before can help to inform your approach to the next levels.
Difficulty
I consider it moderately difficult (I’m on level 64 after about ten hours of play), but it’s harder to handicap as the difficulty will vary by how familiar and experienced the player is with math. For students without much mathematical background, it would be more difficult, and they would be best off by tackling the levels over a longer period of time. For more experienced math persons, it would probably be a crack.
There are hints available, and you can skip levels if stuck (though the next level may also be sticky).
As I work on the final levels of the game, I’ve enjoyed my time with it. With each level beaten, there is a feeling that you are outsmarting that devil that has taken over the calculator. If you have a decent math or programming background or want to improve your math, it’s definitely worth a look.