Move `chess.js` state, move validation (`executeMove`), and check/checkmate detection into a `useChessEngine` hook.
Move
chess.jsstate, move validation (executeMove), and check/checkmate detection into auseChessEnginehook.