象棋chess有代码

installation7242 9 0 APPLICATION/X-ZIP 2021-04-22 08:04:53

象棋程序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); }

用户评论
请输入评论内容
评分:
暂无评论