... bool nextstep(Chesspos np);//下棋,自动判断玩家 int getstatus(int x,int y);//获取游戏状态 int checkwin();//判断游戏是否结束并返回胜利玩家 ...
基于1个网页-相关网页
获取游戏状态
Get the game status
以上为机器翻译结果,长、整句建议使用 人工翻译 。
每一个游戏都由这样的序列组成:获取用户输入,更新游戏状态,处理AI,播放音乐音效,还有显示游戏。
Every game consists of a sequence of getting user input, updating the game state, handling AI, playing music and sound effects, and displaying the game.
youdao
应用推荐
模块上移
模块下移
不移动