Twelve riddles written in Brainfuck. Each riddle is a Brainfuck program: run it to read the riddle, then answer it. The answers are stored only as salted SHA-256 hashes, so reading the files does not give them away.
Play in the browser: cursedprograms.github.io/Cursed-Riddles (watch the program run on the tape, answer, take hints, and write your own Brainfuck in the playground).
Python 3, nothing else to install:
python main.py # play the riddles in order (hint, skip, quit)
python main.py run riddles/riddle_00.bf
python main.py encode "your text" # print a Brainfuck program that prints your text
python main.py encrypt riddle.bf riddle.key riddle.enc
python main.py decrypt riddle.enc riddle.key riddle.bf
Windows: setup.bat or setup.ps1. Linux and macOS: ./setup.sh. Encrypt and decrypt use Fernet and need pip install cryptography.
riddles/riddle_00.bf...riddle_11.bf- the riddlesriddles/riddles.json- answer hashes, hints and reveals (also in Brainfuck)main.py- interpreter, encoder and the terminal gameindex.html,site/style.css,site/site.js- the websitetests/-pytestchecks that every riddle runs