GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - SagarKalauni/game: Cryptography Mind Read Game โ€” Interactive mathematical web application built on invertible matrix transformations and modular arithmetic, adapted from undergraduate thesis research.

BranchesTags
Open more actions menu

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
data science photo.jpg
data science photo.jpg
 
 
index.html
index.html
 
 

Repository files navigation

๐Ÿ” Matrix Cryptography Mind Reader

Interactive Applied Mathematics Game Based on Matrix Transformations & Algebraic Encoding

Play Live Game Mathematics Author


๐Ÿ“– Background & Academic Origin

The Cryptography Mind Read Game is an interactive web application adapted from Sagar Kalauni's undergraduate mathematics thesis at Tribhuvan University ("Cryptography Using Matrices"), which was presented at the Nepal Mathematical Society (NMS) and commended by former NMS President Dr. Chet Raj Bhatt.

While it appears to players as a "mind-reading magic trick" that deduces a secretly chosen name or word with 100% deterministic accuracy, the underlying engine is a playful demonstration of matrix transposition, combinatorial coordinate indexing, and invertible character mapping.

๐ŸŽฎ Play the Live Interactive Game: https://sagarkalauni.github.io/game/


๐Ÿงฎ Mathematical Principle

Let $\mathbf{M} \in \Sigma^{r \times c}$ be a character matrix populated from an alphabet $\Sigma$.

  1. Round 1 (Column Selection): For each character $s_k$ of a secret word $S = (s_1, s_2, \dots, s_L)$ of length $L$, the user identifies the column index $j_k \in {1, \dots, c}$ containing $s_k$.
  2. Matrix Transposition Transformation: The selected columns are extracted and mapped via the transpose operator $\mathbf{M}' = [\mathbf{M}{:, j_1}, \dots, \mathbf{M}{:, j_L}]^\top$, converting column membership into row membership.
  3. Round 2 (Unique Intersection): When the user selects the new column indices $i_k$ in the transformed matrix $\mathbf{M}'$, each character is uniquely decoded by the bijective coordinate lookup:

$$s_k = \mathbf{M}_{i_k, , j_k} \quad \forall k \in {1, 2, \dots, L}$$


โœจ Features

  • 100% Deterministic Accuracy: Guaranteed mathematical reconstruction of any secret name or word.
  • Interactive Step-by-Step UI: Smooth animations guiding players through character length selection and matrix column rounds.
  • Classroom Outreach Tool: Used in mathematics and data science orientations to spark student curiosity in linear algebra and cryptography.

๐Ÿš€ Run Locally

git clone https://github.com/SagarKalauni/game.git
cd game
python -m http.server 8000

Created by Sagar Kalauni, M.S. ยท Portfolio

About

Cryptography Mind Read Game โ€” Interactive mathematical web application built on invertible matrix transformations and modular arithmetic, adapted from undergraduate thesis research.

sagarkalauni.github.io/game/

Topics

applied-mathematicscryptographyinteractive-mathjavascriptlinear-algebramathematical-gamematrix-transformations

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.