1. 首页
  2. 移动开发
  3. QT
  4. 象棋chess有代码

象棋chess有代码

上传者: 2021-04-22 08:46:53上传 APPLICATION/X-ZIP文件 65KB 热度 10次
象棋程序QT程序 void ConfigForm::initializeAll( CChessGame * game ) { QString str; const char** engines = NULL; chessGame = game; redIsMan = true; blackIsMan = true; blackOnTop = true; /* Initialize the combobox for search engines */ engines = game->getEngineList(); for (int i = 0; engines[i] != NULL; i++) { str = engines[i]; comboEngine->insertItem(str); } computerEngine = game->getBestEngine(); computerLevel = 3; updateUI(true); }
用户评论