Skip to content
RAJ
← ALL EXPERIMENTS

EXPERIMENT_001

Lexi-Sweeper

A desktop puzzle game that fuses Minesweeper's grid logic with Wordle's hidden-word objective, built in Python with Tkinter.

Year
2025
Status
shipped
Built with
Python / Tkinter

What it is

Lexi-Sweeper combines the grid exploration and adjacency-clue mechanics of Minesweeper with the objective of revealing a hidden word, inspired by Wordle. Instead of bombs, you're searching for letters that form a contiguous secret word. Clicking a non-letter cell reveals a number indicating how many of its 8 neighbouring cells contain a letter belonging to the target word — a zero clears adjacent cells automatically, the same flood-fill instinct Minesweeper players already have.

Why I built it

I wanted to see whether two familiar mechanics — Minesweeper's clue-reading and Wordle's word-guessing — could be fused into a single ruleset without either one feeling bolted on. It's a small, self-contained problem: good for testing an idea end-to-end in a weekend rather than a quarter.

Features

  • Three difficulty settings (Easy / Medium / Hard) that adjust grid size and word length.
  • Persistent win/loss statistics saved locally per difficulty.
  • Minesweeper-style flood-fill on zero-clue cells.
  • A plain, responsive Tkinter GUI — no external UI framework.

Engineering

PythonTkinter

Game state and stats persist to a local JSON file (lexi_sweeper_stats.json) next to the script — no server, no account, no telemetry.

What I'd change

It's a single-file desktop script, not a packaged app — there's no installer, and the interaction model (dropdown difficulty select, plain grid) is functional rather than polished. If I revisited it, the adjacency-clue-plus-word-reveal mechanic is strong enough to justify a proper UI pass.