game.h

来自「Gnome的一个单人纸牌游戏。」· C头文件 代码 · 共 20 行

H
20
字号
#ifndef __GOAL_GAME_H__#define __GOAL_GAME_H__#include <gnome.h>#include "typedefs.h"void clear_board(GoalApp *app);void init_new_game(GoalApp *app);gboolean valid_move(GoalApp *app, gint from_x, gint from_y, gint to_x, gint to_y);void play(GoalApp *app, gint x, gint y);void remove_piece(GoalApp *app, gint x, gint y);gboolean one_move_possible(GoalApp *app);void make_move(GoalApp *app, gint from_x, gint from_y, gint to_x, gint to_y);void show_board_hints(GoalApp *app, gint x, gint y);	void terminate_game(GoalApp *app);gint count_pieces(GoalApp *app);#endif /* __GOAL_GAME_H__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?