Index

ncurses-minesweeper / 5abfbc6

Terminal game of Minesweeper, implemented in C with ncurses.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
4817 Oct 2021 18:26c10793dUpdate repository endpoint in comment blocksJosh Stockin111G

Blob @ ncurses-minesweeper / src / game / nearest_cells.h

text/plain698 bytesdownload raw
1/* ncurses-minesweeper Copyright (c) 2021 Joshua 'joshuas3' Stockin
2 * <https://joshstock.in>
3 * <https://git.joshstock.in/ncurses-minesweeper>
4 *
5 * This software is licensed and distributed under the terms of the MIT License.
6 * See the MIT License in the LICENSE file of this project's root folder.
7 *
8 * This comment block and its contents, including this disclaimer, MUST be
9 * preserved in all copies or distributions of this software's source.
10 */
11
12#ifndef GAME_NEAREST_CELLS_H
13#define GAME_NEAREST_CELLS_H
14
15#include <stdint.h>
16#include "../state.h"
17
18int16_t *list_nearby_cells(game_board *board, uint16_t cell);
19void recursively_open_nearby_cells(game_board *board, uint16_t cell);
20
21#endif
22