This is a simple minesweeper game written in Rust using Bracket Terminal. It's a command line application that allows you to play minesweeper in your terminal.
- Multiple difficulty levels
- Game timer
- Cheat mode to reveal all mines
- Clickable UI elements
- Keyboard shortcuts for actions
- Visual feedback for game states (win/loss)
- Modes for revealing cells and placing flags on left click
To install Rustsweeper, you need to have Rust installed on your system. You can install Rust using rustup. Once you have Rust installed, you can clone the repository and build the project:
git cloneTo run the game, navigate to the project directory and use the following command:
cargo run-
In the menu:
- Difficulty, start and quit are clickable.
- Use numbers 1 - 5 to select the difficulty level.
- Press enter to start a new game.
- Press 'q' or 'esc' to quit the game.
-
In the game:
- The game grid & shortcut buttons are clickable
- Use left click to reveal a cell when in reveal mode.
- Use left click to place/remove a flag when in flag mode.
- Use shift + left click to place/remove a flag regardless of the current mode.
- Press 'r' to restart the game.
- Press 'm' to return to change the mode.
- Press 'c' to toggle cheat mode.
- Press 'q' or 'esc' to quit the game.





