Entities/Game/Move.cs

Represents a single chess move parsed from PGN. Stores game id, move number, side (white/black), PGN notation, clock time spent and engine evaluation.

#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; }
}