Commit Graph

1215 Commits

Author SHA1 Message Date
Calcitem 9d655fed8e flutter: _grid 随 board 赋值时一起赋值 2020-11-15 19:01:15 +08:00
Calcitem 77b4276447 flutter: rule 转移到 position 类中且在初始化时初始化成三表和着法表 2020-11-15 18:47:48 +08:00
Calcitem 527f6d770e flutter: battle.dart 添加一些变量 2020-11-15 18:32:03 +08:00
Calcitem 43c9ae7110 flutter: Position() 构造函数中调用 init() 2020-11-15 17:44:26 +08:00
Calcitem 2f7af08608 flutter: 添加 Position() 构造函数 2020-11-15 17:36:36 +08:00
Calcitem ac7f2a565f flutter: 调整 position 函数顺序 2020-11-15 17:26:28 +08:00
Calcitem a2d33e626e flutter: 完成 doMove() 2020-11-15 17:07:55 +08:00
Calcitem b531b2a931 flutter: 完成 putPiece() 2020-11-15 16:53:37 +08:00
Calcitem a5f9af6121 flutter: 新增 removePiece() 等函数 2020-11-15 16:38:18 +08:00
Calcitem 96df3db067 flutter: 完成 updateScore() 函数 2020-11-15 13:15:04 +08:00
Calcitem 37cd709ff0 flutter: 完成 checkGameOverCondition() 等函数 2020-11-15 13:10:49 +08:00
Calcitem 77208226c1 flutter: 完成 removeBanStones() 2020-11-15 12:59:17 +08:00
Calcitem 20c33939bd flutter: 增加 createMoveTable() 等函数 2020-11-15 12:36:09 +08:00
Calcitem f1fad8fa9c flutter: 完成 inHowManyMills() 2020-11-15 12:02:14 +08:00
Calcitem e87991c591 flutter: 完成 createMillTable() 2020-11-15 11:19:22 +08:00
Calcitem 98e9d2e8c9 fultter: putPiece() 只传递 sq 参数 2020-11-15 10:27:52 +08:00
Calcitem caa0d28560 flutter: putPiece 参数改为 (var pt, int sq) 2020-11-15 09:33:30 +08:00
Calcitem 2ecff8881a flutter: putPiece 下完子后计算手中和棋盘上的子数 2020-11-15 09:25:33 +08:00
Calcitem 91e6d460a5 flutter: 重构 GestureDetector() 2020-11-15 09:23:48 +08:00
Calcitem c7802c997c fultter: 完成 fromEngineMove() 2020-11-15 09:05:59 +08:00
Calcitem 431398bd8f flutter: AI首步可以落子了 2020-11-15 01:45:08 +08:00
Calcitem 465bb3eb26 flutter: 人类落首子后AI就开始思考 2020-11-15 00:21:04 +08:00
Calcitem c0af6740c1 flutter: 没点击到棋盘点位上则不落子
顺带:
* 人工落子时,黑白交替落子改为只落黑子;
* 解决棋盘初始化位置函数找不到的问题。
2020-11-14 23:40:57 +08:00
Calcitem 179c1bad4c flutter: 基本完成 validateEngineMove() 函数 2020-11-14 22:48:38 +08:00
Calcitem de26bd6681 flutter: 引擎能正常返回最佳着法
已知问题: 最佳着法校验失败,需修改校验函数。
2020-11-14 22:28:17 +08:00
Calcitem e34dc1013d android: CMakeLists.txt 增加头文件路径
这样就可以使用之前去掉 QT_UI 宏的 include/config.h
2020-11-14 01:39:17 +08:00
Calcitem abb15582b3 Qt: QT_UI 宏控制替换为 QT_GUI_LIB 编译器预定义的宏控制 2020-11-13 23:35:51 +08:00
Calcitem 210c10393f flutter: android: CMakeLists.txt 增加其他 cpp 2020-11-10 01:29:12 +08:00
Calcitem 0563a41392 flutter: position 增加代码 2020-11-08 23:31:23 +08:00
Calcitem 76435e9507 position: 修正 int set_position() 函数却返回 bool 的问题 2020-11-08 22:09:50 +08:00
Calcitem d8f055511a flutter: 完善 types 2020-11-08 21:20:05 +08:00
Calcitem 8abb94b501 flutter: 增加 board 且其下标为 sq 2020-11-08 20:59:19 +08:00
Calcitem de1b7607d4 flutter: position 增加更多变量 2020-11-08 20:16:31 +08:00
Calcitem f272dd8421 position: 删除多余的 tmpSt 2020-11-08 20:08:22 +08:00
Calcitem 8a67bc5599 flutter: 实现 fen() 2020-11-08 20:03:42 +08:00
Calcitem 009dacc320 position: 清理 chess960 注释 2020-11-08 18:56:04 +08:00
Calcitem 56280b24d4 flutter: refactor 2020-11-08 18:48:21 +08:00
Calcitem 2339e3c51f flutter: 源文件增加版权声明 2020-11-08 17:27:52 +08:00
Calcitem 7a193ab116 flutter: refactor 2020-11-08 17:14:07 +08:00
Calcitem 5a1acb80b6 rule: 修正 isBlackLoseButNotDrawWhenBoardFull 大小写错误 2020-11-08 16:54:19 +08:00
Calcitem 8a7b0897a9 flutter: 新增 rule.dart 2020-11-08 16:53:16 +08:00
Calcitem 4373bd6bae flutter: 新增 types.dart 2020-11-08 16:14:00 +08:00
Calcitem 3e3be7b1b3 flutter: color_const 改名为 properties 2020-11-08 15:37:40 +08:00
Calcitem fa428f8332 flutter: 实现点击棋盘后摆放棋子的效果 2020-11-08 12:41:21 +08:00
Calcitem 0114ee290c flutter: 实现棋子点击后移动的效果 2020-11-08 11:36:30 +08:00
Calcitem 20fea630ab flutter: 点击棋盘后控制台打印坐标 2020-11-08 11:05:06 +08:00
Calcitem 33800fac6e flutter: 棋子外圈的宽度缩小到 1% 2020-11-08 10:43:28 +08:00
Calcitem 800ded708a flutter: 增加 sqToLoc/locToSq 转换函数 2020-11-08 10:30:19 +08:00
Calcitem fe8be55163 qt: 解决悔棋时棋谱未回退着法就在后面附加新着法的错误 2020-11-08 09:21:06 +08:00
Calcitem 2c3e950716 flutter: 修改注释和增加一点调试代码 2020-11-08 08:56:34 +08:00