Code/Entities/Game/Move.cs

A simple data model representing a single chess move parsed from a PGN. It stores the game id, move index, side (white/black), the move notation string, the clock TimeSpan for the move, and a numeric evaluation value.

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