feat : add board interactions
This commit is contained in:
@@ -3,3 +3,7 @@ export enum GameOrigin {
|
||||
ChessCom = "chesscom",
|
||||
Lichess = "lichess",
|
||||
}
|
||||
|
||||
export enum Engine {
|
||||
Stockfish16 = "stockfish_16",
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user