Code/Gameplay/IChessBoardAdapter.cs

Interface for a chess board adapter used by gameplay code. Declares methods to apply local and remote moves using UCI strings, and to export/import board state as a string.

Networking
#nullable enable annotations

namespace LichessNET.Gameplay;

public interface IChessBoardAdapter
{
    bool TryApplyLocalMove(string uci);
    bool TryApplyRemoteMove(string uci);
    string ExportState();
    void ImportState(string state);
}