Index
ncurses-minesweeper
/
71d76ab
Terminal game of Minesweeper, implemented in C with ncurses.
Download
|
Refs
|
Commit Log
|
Files
|
README
|
LICENSE
Latest Commit
{#}
Time
Hash
Subject
Author
#
(+)
(-)
GPG?
19
13 Sep 2020 14:23
71d76ab
Add majority of game logic, rendering
Josh Stockin
1
10
0
G
Blob @
ncurses-minesweeper
/
src
/
game
/
nearest_cells.h
text/plain
242 bytes
download raw
1
#ifndef GAME_NEAREST_CELLS_H
2
#define GAME_NEAREST_CELLS_H
3
4
#include <stdint.h>
5
#include
"../state.h"
6
7
int16_t
*
list_nearby_cells
(
game_board
*
board
,
uint16_t
cell
);
8
void
recursively_open_nearby_cells
(
game_board
*
board
,
uint16_t
cell
);
9
10
#endif
11