feat : init Stockfish

This commit is contained in:
GuillaumeSD
2024-02-14 19:46:46 +01:00
parent b09a02eab2
commit 36f7577ac0
5 changed files with 191 additions and 0 deletions

14
src/types/eval.ts Normal file
View File

@@ -0,0 +1,14 @@
interface MoveEval {
bestMove: string;
lines: LineEval[];
}
interface LineEval {
pv: string[];
score?: number;
mate?: number;
}
interface GameEval {
moves: MoveEval[];
}