How aicyraa/alpha-beta-pruning works
This is a small TypeScript tic-tac-toe game engine. The entry point creates a game and submits a fixed sequence of human moves; each strike updates the board, checks the result, and—if play continues—selects and applies an AI move using minimax. The engine also exposes status and reset methods. The README is empty, so this map is based on the sampled source; the fixed-move entry point is not a separate interactive interface.
Main entry points: game.ts Game Engine · index.ts Move Demo
Components 3
Other components
- Move Demo
src/index.ts - Game Engine
src/lib/game.ts - Minimax AI
src/lib/game.ts
Connections 2
- Move Demo → Game Engine: creates and strikes
src/index.ts - Game Engine → Minimax AI: selects AI move
src/lib/game.ts