mirror of
https://github.com/LHY0125/Gobang-Game.git
synced 2026-05-10 02:19:46 +08:00
Add files via upload
This commit is contained in:
+6
-5
@@ -2,8 +2,8 @@
|
||||
* @file game_mode.h
|
||||
* @author 刘航宇(3364451258@qq.com、15236416560@163.com、lhy3364451258@outlook.com)
|
||||
* @brief 五子棋游戏框架头文件
|
||||
* @version 4.1
|
||||
* @date 2025-07-07
|
||||
* @version 4.0
|
||||
* @date 2025-07-02
|
||||
*
|
||||
* @copyright Copyright (c) 2025
|
||||
*
|
||||
@@ -19,9 +19,10 @@
|
||||
#include "gobang.h"
|
||||
|
||||
// 特殊输入命令
|
||||
#define INPUT_UNDO -1
|
||||
#define INPUT_SAVE -2
|
||||
#define INPUT_EXIT -3
|
||||
#define INPUT_UNDO -1 // 悔棋
|
||||
#define INPUT_SAVE -2 // 保存
|
||||
#define INPUT_EXIT -3 // 退出
|
||||
#define INPUT_SURRENDER -4 // 认输
|
||||
|
||||
/**
|
||||
* @brief 从用户获取整数输入
|
||||
|
||||
Reference in New Issue
Block a user