Terminal game of Minesweeper, implemented in C with ncurses.
{#} | Time | Hash | Subject | Author | # | (+) | (-) | GPG? |
---|---|---|---|---|---|---|---|---|
26 | 17 Sep 2020 22:46 | 008d7f3 | Fix README | Josh Stockin | 1 | 1 | 1 | G |
Object | Latest Commit Subject | Time | Hash |
---|---|---|---|
src | Fix copyright disclaimer | 17 Sep 2020 22:41 | 63b24cb |
.clang-format | Update lint config | 12 Sep 2020 16:18 | 57786ab |
.gitignore | Add *.swp to .gitignore | 12 Sep 2020 10:35 | ca7e2b2 |
LICENSE | Initial commit (README.md, LICENSE) | 07 Sep 2020 18:23 | 9f17065 |
Makefile | Fix issue with Make incorrectly parsing gcc -MM | 12 Sep 2020 16:18 | 6caccaa |
README.md | Fix README | 17 Sep 2020 22:46 | 008d7f3 |
Terminal game of Minesweeper, implemented in C with ncurses.
Minesweeper is a logic game where mines are hidden in a grid of squares. The object is to open all the safe squares in the shortest time possible. Use <hjkl> to move and <SPACE> to select. Read the Help page for more information.
Currently functional on all systems with an ncurses library. PDCurses may be dropped in and linked on Windows, although this hasn't been tested.
Requirements: coreutils libncurses-dev clang-format clang-tidy
Linting, compiling and linking:
make
Binary executable deposited at bin/minesweeper
.
src/main.c
src/draw/draw.c
src/game/game.c
src/draw/game.c
All header files correspond to a similarly named source file except
src/draw/pages.h
which encapsulates multiple sources in the same directory.
This package is copyrighted by Joshua 'joshuas3' Stockin and licensed under the MIT License.
A form of the following should be present in each source or header file.
ncurses-minesweeper Copyright (c) 2020 Joshua 'joshuas3' Stockin
<https://joshstock.in>
<https://github.com/JoshuaS3/ncurses-minesweeper>
This software is licensed under the MIT License.
<https://joshstock.in> | joshstockin@gmail.com | joshuas3#9641 | LinkedIn