| 283 | } |
| 284 | |
| 285 | void MachineGame::machineChooseAndMovePieces() |
| 286 | { |
| 287 | ChessStep* step = getBestMove(); |
| 288 | if (step == nullptr) |
| 289 | return; |
| 290 | |
| 291 | doMoveStone(step->m_nMoveID, step->m_nKillID, step->m_nRowTo, step->m_nnColTo); |
| 292 | m_nSelectID = -1; |
| 293 | delete step; |
| 294 | update(); |
| 295 | } |
nothing calls this directly
no outgoing calls
no test coverage detected