Skip to content

windy1/minswpr

Repository files navigation

minswpr

minswpr is a minimally implemented clone of Microsoft's classic Minesweeper that has stolen the hearts of countless procrastinators throughout the years

Prerequisites

macOS

$ brew install sdl2 sdl2_ttf

Ubuntu

$ sudo apt install libsdl2-dev libsdl2-ttf-dev

You might also need a C compiler (gcc)

Installing

$ cargo install --git https://github.com/windy1/minswpr

Running

$ minswpr --help

Quickstart

use minswpr::config;
use minswpr::Minswpr;

fn main() -> Result<(), String> {
    let config = config::read_config(config::resolve()?)?;
    Minswpr::new(config)?.start()
}

About

Minesweeper implementation in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages