fix : set play engine elo

This commit is contained in:
GuillaumeSD
2025-05-09 00:38:04 +02:00
parent 1ac075f1f0
commit 5dc1c4f485
12 changed files with 60 additions and 45 deletions

View File

@@ -4,14 +4,15 @@ import {
playIllegalMoveSound,
playSoundFromMove,
} from "@/lib/sounds";
import { Player } from "@/types/game";
import { Chess, Move } from "chess.js";
import { PrimitiveAtom, useAtom } from "jotai";
import { useCallback } from "react";
export interface resetGameParams {
fen?: string;
whiteName?: string;
blackName?: string;
white?: Player;
black?: Player;
noHeaders?: boolean;
}