fix(ai): fix database model mapping for AI matches and missing AI names

This commit is contained in:
Michess
2026-04-13 15:06:45 +02:00
parent f7b87f2941
commit 0cc5a8e99c
7 changed files with 5377 additions and 27 deletions

View File

@@ -21,7 +21,7 @@ export const AI_LEVELS: StockfishLevel[] = [
export class StockfishEngine {
private process: ChildProcess | null = null;
private ready = false;
private resolvers: Array<(move: string) => void> = [];
private resolvers: ((move: string) => void)[] = [];
private initPromise: Promise<void>;
private buffer = "";