private void _engineSuggestion(cgSimpleMove move) { if (playerCanMove) { if (_abstractBoard.verifyLegality(move)) { _suggestMove(move); } else { _engine.Moves.Remove(move); if (_engine.Moves.Count > 0) { _engineSuggestion(_engine.Moves[0]); } } } }
private void _engineSuggestion(List <cgSimpleMove> moves) { if (playerCanMove) { if (_abstractBoard.verifyLegality(moves[0])) { _suggestMove(moves[0]); } else { moves.RemoveAt(0); if (moves.Count > 0) { _engineSuggestion(moves); } } } }