A JavaScript chess implementation featuring an AI opponent powered by Minimax with Alpha-Beta pruning. Utilizes advanced move ordering (history heuristic, killer moves) and position evaluation (material balance, piece-square tables). Includes a responsive web interface with legal move validation, pawn promotion, and game state tracking.
Try King-Fisher Chess engine: Play Now →
-
Multiple Modes:
-
Human vs Human
-
Human vs AI
-
-
Special Moves:
- Castling, En Passant, Pawn Promotion
-
Game State Detection:
-
Check/Checkmate
-
Stalemate
-
-
Minimax Algorithm with Alpha-Beta pruning
-
Quiescence Search for stable evaluations
-
Adaptive Evaluation:
-
Material balance with piece values
-
Piece-Square Tables (middlegame/endgame)
-
-
Move Ordering:
-
History heuristic (player specific)
-
Killer moves (depth + player specific)
-
MVV-LVA capture prioritization
-
MIT License - See LICENSE for details.
