1 | /* ncurses-minesweeper Copyright (c) 2020 Joshua 'joshuas3' Stockin |
2 | * <https://joshstock.in> |
3 | * <https://github.com/JoshuaS3/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_CONSTRAIN_MOVEMENT_H |
13 | #define GAME_CONSTRAIN_MOVEMENT_H |
14 |
|
15 | #include "../state.h" |
16 |
|
17 | void constrain_up(game_board *board); |
18 | void constrain_down(game_board *board); |
19 | void constrain_left(game_board *board); |
20 | void constrain_right(game_board *board); |
21 |
|
22 | #endif |
23 |
|