Code/Entities/Game/Move.cs

Represents a single chess move parsed from PGN. Holds GameID, move index, side (white/black), notation string, clock time and an engine evaluation as a float.

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