feat : add board interactions

This commit is contained in:
GuillaumeSD
2024-02-23 04:01:18 +01:00
parent 2af0959e82
commit 814d3ecf09
19 changed files with 458 additions and 107 deletions

View File

@@ -3,3 +3,7 @@ export enum GameOrigin {
ChessCom = "chesscom",
Lichess = "lichess",
}
export enum Engine {
Stockfish16 = "stockfish_16",
}

View File

@@ -1,3 +1,5 @@
import { Engine } from "./enums";
export interface MoveEval {
bestMove: string;
lines: LineEval[];
@@ -14,7 +16,15 @@ export interface Accuracy {
black: number;
}
export interface EngineSettings {
name: Engine;
depth: number;
multiPv: number;
date: string;
}
export interface GameEval {
moves: MoveEval[];
accuracy: Accuracy;
settings: EngineSettings;
}