minswpr is a minimally implemented clone of Microsoft's classic Minesweeper that has stolen the hearts of countless procrastinators throughout the years
$ brew install sdl2 sdl2_ttf
$ sudo apt install libsdl2-dev libsdl2-ttf-dev
You might also need a C compiler (gcc
)
$ cargo install --git https://github.com/windy1/minswpr
$ minswpr --help
use minswpr::config;
use minswpr::Minswpr;
fn main() -> Result<(), String> {
let config = config::read_config(config::resolve()?)?;
Minswpr::new(config)?.start()
}