UNPKG

@nodots-llc/backgammon-ai

Version:

AI and integration for nodots-backgammon using the @nodots-llc/gnubg-hints native addon.

14 lines 669 B
/** * AI Move Selection with Opening Book and Strategic Logic * This module handles intelligent move selection for backgammon robots */ import type { BackgammonPlayMoving, BackgammonMoveReady } from '@nodots-llc/backgammon-types'; /** * Main AI move selection function that tries multiple strategies in order: * 1. GNU Backgammon AI (required for gbg-bot, optional for others) * 2. Opening book for common opening rolls * 3. Strategic heuristics * 4. Random selection (fallback) */ export declare function selectBestMove(play: BackgammonPlayMoving, playerNickname?: string): Promise<BackgammonMoveReady | undefined>; //# sourceMappingURL=moveSelection.d.ts.map