A modern, feature-rich implementation of the classic Minesweeper game, available in Windows Forms, Linux GTK, and Terminal versions.
A polished, graphical implementation built with Windows Forms and C++, featuring a modern user interface.
A polished, graphical implementation built with GTK and C++, featuring a modern user interface.
A classic, ncurses-based implementation perfect for terminal environments and systems without graphical interfaces.
Versions include:
- Linux
- Windows
- MS-DOS
For MS-DOS, their are two different versions. In the msdos folder, their is a fake ncurses that uses conio.h for movement. In the CLI foloder, their is a ncurses/pdcurses version. Both are very similar and functionally the same.
All versions include:
- Four difficulty levels:
- Easy (9x9 grid, 10 mines)
- Medium (16x16 grid, 40 mines)
- Hard (16x30 grid, 99 mines)
- Custom board size with custom number of mines
- High score system with persistent storage
- Separate leaderboards for each difficulty
- Top 10 times per difficulty level
- Scores saved in platform-appropriate location:
- Windows: %APPDATA%.minesweeper\scores.txt
- Unix: ~/.minesweeper/scores.txt
- Color-coded numbers for adjacent mine counts
- Game timer with MM:SS format display
- First-click protection (never hit a mine on first move)
- Quick-reveal for completed number tiles
Mouse Controls:
- Left Click: Reveal cell
- Right Click: Flag/unflag cell
- Left Click on Number: Quick-reveal adjacent cells (if correct number of flags placed)
Keyboard Shortcuts:
- N: Start new game
- F1: Switch to Easy difficulty
- F2: Switch to Medium difficulty
- F3: Switch to Hard difficulty
- Ctrl+H: View high scores
Mouse Controls:
- Left Click: Reveal cell
- Right Click: Flag/unflag cell
- Left Click on Number: Quick-reveal adjacent cells (if correct number of flags placed)
Keyboard Shortcuts:
- CTRL+N: Start new game
- CTRL+1: Switch to Easy difficulty
- CTRL+2: Switch to Medium difficulty
- CTRL+3: Switch to Hard difficulty
- Ctrl+H: View high scores
- Ctrl+Q: Quit
- Ctrl+R: Reset Game
- Arrow Keys: Move cursor
- Space: Reveal cell
- F: Flag/unflag cell
- H: Show/hide help menu
- K: View high scores
- N: Start new game
- R: Restart current game
- C: Clear screen (removes artifacts)
- Q: Quit game
- Clean, modern interface
- Status bar showing game state and timer
- Intuitive menu system
- Custom icons for mines and flags
- Responsive grid that adjusts to window size
- Color-coded numbers:
- Blue for 1
- Green for 2
- Red for 3
- Dark Blue for 4
- Dark Red for 5
- Dark Gray for higher numbers
- Bold, colored numbers (1-8)
- High contrast mine and flag symbols
- Reverse highlighting for cursor position
- Clean, intuitive UI with status messages
- Animated title banner
- Current seed display (for sharing/replaying)
Requirements:
- Windows operating system
- .NET Framework 4.5 or higher
- 64-bit processor
- Minimum 2GB RAM
- Screen resolution: 800x600 or higher
cd windows
msbuild /p:Configuration=Release /p:Platform=x64 minesweeper.vcxprojRequirements:
- Linux operating system
- G++
- gtk3-development libraries (gtk3-devel on Fedora)
- Minimum 2GB RAM
- Screen resolution: 800x600 or higher
# Compile and run GTK version
cd gtk
make
cd build/linux
./minesweeperRequirements:
- Linux operating system (to compile)
- G++
- 64-bit processor
- Minimum 2GB RAM
- Screen resolution: 800x600 or higher
- MINGW and GTK3-development (mingw-gtk3 on Fedora)
# Compile and run GTK version
cd gtk
make windows
cd build
mv windows minesweeper_gtk
zip minesweeper_gtk.zip minesweeper_gtk -r# Copy ZIP file to windows and decompress
On windows run minesweeper_gtk.exe
Requirements:
- C++ compiler with C++11 support
- ncurses library
# Compile and run Terminal version
cd CLI
make
./minesweeperRequirements:
- mingw (for windows)
- docker (for MS-DOS)
- mingw-pdcurses (for Windows)
# Compile for Windows and MS-DOS (also builds Linux)
cd CLI
./compile.shRequirements:
- docker
cd msdos
make- The first click is always safe - use it strategically!
- Numbers indicate how many mines are in the adjacent cells
- Flag suspected mines to keep track
- Use quick-reveal on numbers when you've flagged all nearby mines
- Try to beat your best times - they're saved per difficulty level
All versions support:
- Active gameplay
- Game over (mine revealed)
- Victory (all non-mine cells revealed)
- High score entry
- High score display
The Terminal version also includes:
- Menu (difficulty selection)
- Help screen
MINESWEEPER Time: 01:23
1 1 1
1 * 1 # = Hidden cell
1 1 1 F = Flag
* = Mine
All versions are licensed under MIT; see LICENSE.md.
Created by Jason Brian Hall (jasonbrianhall@gmail.com)
Bored? Let me rescue you from the depths of monotony with these digital delights! ๐
๐ Solitaire Insanity: Solitaire & Freecell - A meticulously crafted digital card game that brings both Klondike Solitaire and Freecell to life! Featuring smooth animations, custom card decks, multiple drawing modes, and keyboard-friendly controls. Whether you're a classic Solitaire fan or a Freecell strategist, this game offers a delightful mix of challenge and entertainment! ๐โจ (Prepare to get hooked!) ๐ฎ
๐งฉ Sudoku Solver Spectacular: Sudoku Solver - A Sudoku Swiss Army Knife! ๐ This project is way more than just solving puzzles. Dive into a world where:
- ๐ง Puzzle Generation: Create brain-twisting Sudoku challenges
- ๐ MS-Word Magic: Generate professional puzzle documents
- ๐ Extreme Solver: Crack instantaneously the most mind-bending Sudoku puzzles
- ๐ฎ Bonus Game Mode: Check out the playable version hidden in python_generated_puzzles
Numbers have never been this exciting! Prepare for a Sudoku adventure that'll make your brain cells do a happy dance! ๐บ
๐ง Rubik's Cube Chaos: Rubik's Cube Solver - Crack the code of the most mind-bending 3x3 puzzle known to humanity! Solving optional, frustration guaranteed! ๐
๐ Willy the Worm's Wild Ride: Willy the worm - A 2D side-scroller starring the most adventurous invertebrate in gaming history! Who said worms can't be heroes? ๐ฆธโโ๏ธ
๐งโโ๏ธ The Wizard's Castle: Choose Your Own Adventure: The Wizard's Castle - A Text-Based RPG that works on QT5, CLI, and even Android! Magic knows no boundaries! โจ
๐ค Hangman Hijinks: Hangman - Word-guessing mayhem in your terminal! Prepare for linguistic warfare! ๐ฌ
๐น๏ธ Bonus Level: I've got a treasure trove of more projects just waiting to be discovered! Some are shiny and new, some are old code that might need a digital retirement party. It's like a coding yard sale - you never know what gems you'll find! ๐ดโโ ๏ธ
Warning: Prolonged exposure may cause uncontrollable coding inspiration and spontaneous nerd moments ๐คโจ