Skip to content

d62liu/cpp-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chess

A terminal chess game written in C++ with an optional graphical display. Supports human vs human, human vs computer, and computer vs computer.

Features

  • Multi-level AI engine: greedy heuristics (levels 1–3), 2-ply minimax (level 4), and 4-ply alpha-beta minimax with piece-square tables, and quiescence search (level 5)
  • Graphical display via X11 window
  • Custom board setup mode
  • Full chess rules (castling, en passant, promotion)

Build & Run

make
./chess

Usage

game human computer4   # start a game
move e2 e4                         # make a move
resign                             # forfeit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors