Skip to main content

termsweeper/
lib.rs

1//! # Termsweeper
2//!
3//! A minimal terminal-based Minesweeper game written in Rust, using `crossterm` for cross-platform terminal UI.
4//!
5//! ## Features
6//! - Classic Minesweeper gameplay
7//! - Mouse controls
8//! - Multiple difficulty levels and custom boards
9//! - Colorful terminal UI
10//!
11//! ## Usage
12//! See the README for instructions on running the game as an application.
13//!
14//! ## Modules
15//! - [`game_logic`] - Core game logic and board state
16//! - [`menu`] - Menu system and event handling
17//! - [`timer`] - Simple timer for tracking game duration
18//! - [`tui`] - Terminal UI rendering
19//! - [`types`] - Common types and configuration
20
21/// Core game logic and board state.
22pub mod game_logic;
23/// Menu system and event handling.
24pub mod menu;
25/// Simple timer for tracking game duration.
26pub mod timer;
27/// Terminal UI rendering.
28pub mod tui;
29/// Common types and configuration.
30pub mod types;