feat : play vs engine v0
This commit is contained in:
@@ -5,6 +5,7 @@ import { atom } from "jotai";
|
||||
export const gameAtom = atom(new Chess());
|
||||
export const playerColorAtom = atom<Color>(Color.White);
|
||||
export const engineSkillLevelAtom = atom<number>(1);
|
||||
export const isGameInProgressAtom = atom(false);
|
||||
|
||||
export const clickedSquaresAtom = atom<string[]>([]);
|
||||
export const playableSquaresAtom = atom<string[]>([]);
|
||||
|
||||
Reference in New Issue
Block a user