GitXplorerGitXplorer
A

curses-minesweeper

public
18 stars
2 forks
0 issues

Commits

List of commits on branch master.
Verified
b7925dd0a5bb4b0938edfc1226ca64d8d5055026

Configure github actions to build the project (#7)

AAkuli committed 4 months ago
Unverified
e29e5a0bd4ac40797ec1cbe699618c03967d50ae

Update README and license

AAkuli committed 4 months ago
Verified
db6400fe2ca1be708680e7e24d051a4e869946a7

Upgrade to Zig 0.13.0 (#6)

AAkuli committed 4 months ago
Verified
fe900c665a3245efd7b8dd1f6c3850f06107ea21

Upgrade to zig 0.9.0 (#3)

aadyxax committed 3 years ago
Verified
9d78010dba93332020baf32d7b94b21f9d0423e3

Upgrade to Zig 0.8.1 (#2)

AAkuli committed 3 years ago
Unverified
29067abec052126153232c230da2c5f8789ec567

fix error handling

AAkuli committed 3 years ago

README

The README file for this repository.

curses-minesweeper

This is a minesweeper game written with Zig using curses.

screenshot

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.

FAQ

I can't get it to work!

Create an issue. I'll try to help.

Why did you write a minesweeper game?

Because it's fun.

Does it work on Windows?

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.