Skip to content

Chess AI engine built in Prolog — Negamax + Alpha-Beta pruning with PSQT heuristics

Notifications You must be signed in to change notification settings

Kamaiko/BlunderMate-Chessbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

219 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlunderMate

Chess AI engine built in Prolog.

Negamax · Alpha-Beta · PSQT · MVV-LVA

SWI-Prolog Platform


BlunderMate gameplay

Quick Start

# Requires SWI-Prolog 9.x+
swipl go.pl

Game Modes

  • Human vs Human — Local two-player game
  • Human vs AI — Play against the engine

How to Play

Moves use standard algebraic notation — type the origin and destination squares together.

e2e4    Move pawn from e2 to e4
g1f3    Move knight from g1 to f3

How It Works

The AI searches possible moves using a Negamax algorithm with Alpha-Beta pruning at depth 2. Each position is scored through material balance, piece-square tables, and piece safety heuristics.

About

Chess AI engine built in Prolog — Negamax + Alpha-Beta pruning with PSQT heuristics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages