feat : init Stockfish
This commit is contained in:
14
src/types/eval.ts
Normal file
14
src/types/eval.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
interface MoveEval {
|
||||
bestMove: string;
|
||||
lines: LineEval[];
|
||||
}
|
||||
|
||||
interface LineEval {
|
||||
pv: string[];
|
||||
score?: number;
|
||||
mate?: number;
|
||||
}
|
||||
|
||||
interface GameEval {
|
||||
moves: MoveEval[];
|
||||
}
|
||||
Reference in New Issue
Block a user