Games

Logic is a muscle. These puzzles are the gym. Created for the moments between the code, to keep the mind sharp and the spirit curious.

Tip

Did you know? Engaging in logical puzzles stimulates neuroplasticity—essentially “freshening” your 🧠 cells.

Do share with your friends and help them kill some time productively. 🚀


📊 Analytics are processed client-side via localStorage. Your data is your own—no cookies, no tracking, just pure performance metrics.
View Your Game Analytics Clear all local stats

Nonogram Link to heading


💡 How to solve a nonogram
💡 You can click the size options to generate a fresh game anytime.

🛠️ Technical Deep Dive: How the "Game" Works

🧩 Nonogram: The Constraint Solver Link to heading

  • This is essentially a Constraint Satisfaction Problem (CSP).
  • The Algorithm: Uses a Linear Congruential Generator (LCG) to create a stable, seeded board.
  • The Logic: The engine scans rows and columns for contiguous filled blocks to generate “Hints.”
  • Victory: Runs a matrix comparison on every click.

It’s like a Sudoku had a baby with a QR code. 🕵️‍♂️


00:00

Minesweeper Link to heading


💡 How to solve a minesweeper
💡 You can click the size options to generate a fresh game anytime. 💡 How to play: Left-click to reveal a cell. Right-click or long press on mobile device to toggle a flag (🚩) on suspected mines.

🛠️ Technical Deep Dive: How the "Game" Works

💣 Minesweeper: The Recursive Flood Link to heading

  • Classic Minesweeper logic using the Flood Fill algorithm.
  • The Algorithm: Triggers a Depth-First Search (DFS) to reveal all adjacent empty (0) tiles.
  • Safe Start: The engine reserves a “Safe Zone” around your first click, moving mines elsewhere so you don’t 💥 immediately.

You’re a digital bomb technician with a flag as your only armor. 🚩


00:00

Binary Sudoku Link to heading


💡 Fill the grid with 0s and 1s. No more than two same numbers adjacent. Each row/col has equal 0s and 1s.

🛠️ Technical Deep Dive: How the "Game" Works

0️⃣1️⃣ Binary Sudoku: The Logic Gate Link to heading

  • This is a test of parity and adjacency rules.
  • The Algorithm: The generator shuffles valid permutations of 0s and 1s while enforcing three strict rules: No more than two identical numbers adjacent, equal count of 0s/1s per row, and no duplicate rows.
  • The Setup: It reveals ~30% of the solution to give you a “fixed” starting point.
  • Victory Condition: A full sweep of the grid to ensure no rule violations exist (The “Logic Verify”).

It’s like trying to keep two siblings (0 and 1) from sitting next to each other for too long. 🧒↔️🧒


00:00

2048 Link to heading


🛠️ Technical Deep Dive: How the "Game" Works

🗺️ 2048: Matrix game Link to heading

  • Uses Matrix Rotation and Array Compaction.
  • Every move is treated as a “Slide Left” by rotating the grid state.
Score: 0

Swipe, Drag, or use Arrow Keys to merge!

Path Finder Link to heading


🛠️ Technical Deep Dive: How the "Game" Works

🗺️ Path Finder: The BFS Navigator Link to heading

  • This is the “heavy lifter,” using real-world routing logic.
  • The Algorithm: Uses BFS (Breadth-First Search) to validate maze solvability.
  • The Maze: The engine generates walls at ~55% density and runs a simulation. If the path isn’t “complex” enough, it trashes the board and starts over.

It’s like Google Maps, but I’ve replaced the roads with walls. 📍


00:00