Пример #1
0
    IEnumerator AiPlayerMove(List <GameLogic.Move> possibleMoves)
    {
        yield return(new WaitForSeconds(0.2f));

        var move = m_aiPlayer.ChooseMove(possibleMoves);

        Debug.Log($"Executing AI move: piece {move.pieceNr} to pos  {move.toPos}");
        yield return(PieceMove(move));
    }