This is a minesweeper game written with Zig using curses.
If you have apt, you can install most of the dependencies and download the code like this:
$ sudo apt install git wget libncurses5-dev libncursesw5-dev gcc
$ git clone https://github.com/Akuli/curses-minesweeper
$ cd curses-minesweeper
Then download zig 0.13.0 and move it to
the curses-minesweeper
directory, and run this:
$ tar xf zig-linux-SOMETHING.tar.xz (use autocompletion)
$ mv zig-linux-SOMETHING zig (use autocompletion)
Now you can compile and run the project.
$ zig/zig build
Run the game:
$ zig-out/bin/curses-minesweeper
Add --help
for more options.
Create an issue. I'll try to help.
Because it's fun.
No, but Windows comes with a minesweeper. Windows command prompt and powershell are kind of awful anyway, and you probably want to use GUI applications instead of them whenever possible.