Isolate the `getBestMove` and bot-related logic into a separate `useBotOpponent` hook or service.
Isolate the
getBestMoveand bot-related logic into a separateuseBotOpponenthook or service.