A fast, lightweight, terminal-powered twist on the classic Minesweeper puzzle.
Gridlock brings the timeless mine-clearing challenge straight to your command line. Explore a hidden grid, uncover safe tiles, flag suspicious ones, and use logic to survive. Every number revealed brings you one step closer to victory—or one misstep closer to detonation.
Designed with a clean ASCII interface and responsive keyboard controls, Gridlock delivers that old-school puzzle feel with modern polish. Whether you want a quick brain warm-up or a full challenge at higher difficulties, Gridlock keeps gameplay snappy, focused, and addictive.
- Classic Minesweeper mechanics recreated for the terminal
- Multiple difficulty settings for all skill levels
- Smooth keyboard navigation for fast, intuitive play
- Flag system to mark cells you suspect contain mines
- Minimalist ASCII interface—clean, readable, and nostalgic
- Extremely lightweight, runs on any system with a terminal
- No clutter, no distractions—just pure puzzle-solving
Clone the repository and run Gridlock instantly:
git clone https://github.com/DAPOWER99/GridLock
cd GridLock
python main.pyOr
git clone https://github.com/DAPOWER99/GridLock MyGridLockGame
cd MyGridLockGame
python main.py
Use your keyboard to move around the grid, uncover tiles, and avoid mines. Each tile you reveal shows a number (0–8) that tells you how many mines are adjacent.
Clear the entire board without triggering a mine to win—simple, satisfying, and always tense.
This project is open-source under the Apache 2.0 License. Feel free to play and explore the code—just don’t claim the project as your own.