Skip to content

Akuli/curses-minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Minesweeper game written in curses with zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published