feat : add live move classification

This commit is contained in:
GuillaumeSD
2024-04-14 19:12:59 +02:00
parent 6b774e085a
commit 5379893288
5 changed files with 118 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
import { EngineName } from "@/types/enums";
import { CurrentPosition, GameEval } from "@/types/eval";
import { CurrentPosition, GameEval, SavedEvals } from "@/types/eval";
import { Chess } from "chess.js";
import { atom } from "jotai";
@@ -16,3 +16,5 @@ export const engineNameAtom = atom<EngineName>(EngineName.Stockfish16);
export const engineDepthAtom = atom(16);
export const engineMultiPvAtom = atom(3);
export const evaluationProgressAtom = atom(0);
export const savedEvalsAtom = atom<SavedEvals>({});