| 21 | } |
| 22 | |
| 23 | int MachineGame::getSearchDepth() const |
| 24 | { |
| 25 | switch (m_difficulty) { |
| 26 | case AIDifficulty::Easy: return 1; |
| 27 | case AIDifficulty::Medium: return 3; |
| 28 | case AIDifficulty::Hard: return 5; |
| 29 | } |
| 30 | return 3; |
| 31 | } |
| 32 | |
| 33 | void MachineGame::saveStep(int selectID, int checkedID, int row, int col, QVector<ChessStep *> &steps) |
| 34 | { |
nothing calls this directly
no outgoing calls
no test coverage detected