| Crates.io | termsweeper |
| lib.rs | termsweeper |
| version | 0.1.1 |
| created_at | 2025-09-04 10:46:33.222564+00 |
| updated_at | 2025-09-04 11:09:23.660424+00 |
| description | A terminal-based Minesweeper game written in Rust. |
| homepage | https://github.com/Voggo/termsweeper |
| repository | https://github.com/Voggo/termsweeper |
| max_upload_size | |
| id | 1824024 |
| size | 121,469 |
A minimal terminal-based Minesweeper game written in Rust, using crossterm for cross-platform terminal UI.
Add this crate to your dependencies in Cargo.toml:
[dependencies]
termsweeper = "0.1.0"
Then, in your code:
use termsweeper::game_logic::Board;
fn main() {
let mut board = Board::new();
// ... interact with the board, or run the game loop
}
git clone <repo-url>
cd termsweeper
cargo run --release
Select "Custom" in the main menu to set your own board width, height, and number of mines. Use left/right arrows to adjust values, then select "Confirm" to start.
