Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Akuli/curses-minesweeper
Minesweeper game written in curses with zig
https://github.com/Akuli/curses-minesweeper
Last synced: about 2 months ago
JSON representation
Minesweeper game written in curses with zig
- Host: GitHub
- URL: https://github.com/Akuli/curses-minesweeper
- Owner: Akuli
- License: mit
- Created: 2019-03-15T19:25:31.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-19T15:57:22.000Z (4 months ago)
- Last Synced: 2024-11-08T03:37:13.036Z (2 months ago)
- Language: Zig
- Size: 59.6 KB
- Stars: 17
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zig - Akuli/curses-minesweeper
- awesome-zig - curses-minesweeper🗒️Minesweeper game written in curses with zig
README
# curses-minesweeper
This is a minesweeper game written with [Zig](https://github.com/ziglang/zig)
using curses.![screenshot](screenshot.png)
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-minesweeperThen [download zig 0.13.0](https://ziglang.org/download/) 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.