Skip to content

This project was created as a way to dive deeper into desktop app development with GTK4 and Rust.

License

Notifications You must be signed in to change notification settings

not4rt/rusty-minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💣 Rusty Minesweeper

Rust GTK4

A reimplementation of the classic Windows Minesweeper, built with Rust and Relm4/GTK4.

Features

  • 🎮 Classic Minesweeper gameplay
  • 🎯 Difficulty levels: Beginner, Intermediate, Expert and Custom
  • 😎 Fastest Mine Sweepers board
  • ⏱️ Real-time game timer
  • 🚩 Chording and flagging system

Technical Details

  • Built using Rust 🦀
  • Leverages relm4 for simplier GUI programming with GTK4
  • Minimal dependencies

Building from Source

Prerequisites

  • Rust 1.75 or higher
  • GTK4 development libraries
# Clone the repository
git clone https://github.com/not4rt/rusty-minesweeper
cd rusty-minesweeper

# Build and run
cargo run --release

How to Play

  1. Left-click to reveal cells
  2. Right-click to flag potential mines
  3. Middle-click or Right+Left to chord
  4. Clear all non-mine cells to win!
  5. Choose your difficulty level from the Game menu

About

This project was created as a way to dive deeper into desktop app development with GTK4 and Rust.

Resources

License

Stars

Watchers

Forks

Packages

No packages published