MindCipher is a graphical application that demonstrates the power of the Chinese Remainder Theorem (CRT) through an interactive "mind-reading" game.
The application works by collecting modular remainders from the user without them realizing they are solving a system of congruences.
The core logic is based on solving a system of simultaneous congruences for a number
Using the constructive method of the Chinese Remainder Theorem, the application calculates the exact number using the formula:
Where:
-
70: Multiplicative inverse mapped for mod 3 (
$70 \equiv 1 \pmod 3$ ) -
21: Multiplicative inverse mapped for mod 5 (
$21 \equiv 1 \pmod 5$ ) -
15: Multiplicative inverse mapped for mod 7 (
$15 \equiv 1 \pmod 7$ )
- Clean UI: Built with
customtkinterfor a modern, dark-themed aesthetic. - Algorithm Visualization: Turns abstract modular arithmetic into a visual selection process.
- Optimized UX: Simple grid selection system instead of manual input.
MindCipher is cross-platform and works on Windows, macOS, and Linux.
- Go to the Releases page on the right sidebar.
- Download the latest
MindCipher.exe. - Double-click to run. (No Python installation needed).
Since this is a Python application, you can run it directly from the source code.
Prerequisites:
- Python 3.10 or higher installed.
Steps:
- Clone the repository:
git clone https://github.com/Gorkem-Taha/MindCipher.git cd MindCipher
This project is licensed under the MIT License.
Developed by Görkem Taha