Beispiel #1
0
        public void DoMove(BoardState currentState)
        {
            var target = startPosition == PlayerType.BottomPlayer
                                                                ? YField.Nine
                                                                : YField.One;

            DebugMessageAvailable?.Invoke($"beginne Bewegungsberechnung [{counter++}]");

            var nextMove = ComputeNextMove(currentState, target);

            NextMoveAvailable?.Invoke(nextMove);
        }
Beispiel #2
0
 public void DoMove(BoardState currentState)
 {
     NextMoveAvailable?.Invoke(new Capitulation());
 }