Entities/Game/Move.cs

Data model for a chess move parsed from PGN. It stores game id, move number, side (white/black), algebraic notation, clock time, and an engine evaluation score.

#nullable enable annotations

namespace LichessNET.Entities.Game;

/// <summary>
/// A move in a chess game, read from a PGN file.
/// </summary>
public class Move
{
    public string GameID { get; set; }
    public int MoveNumber { get; set; }
    public bool IsWhite { get; set; }
    public string Notation { get; set; }
    public TimeSpan Clock { get; set; }
    public float Evaluation { get; set; }
}