Skip to content

A player vs. AI remake of traditional Chinese Chess!

Notifications You must be signed in to change notification settings

aletya/chinese-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Chinese Chess

Alex Yang

Overview

Console based Xiangqi aka Chinese chess, built from scratch in C++. The AI player is implemented using alpha beta pruning on a game tree, and a Zobrist Hashing based transposition table for better efficiency (avoids recalculating positions).

Try it out!

  1. Download xiangqi.exe
  2. Run xiangqi.exe

Sample Gameplay

Player move

AI move (moves automatically after player moves)

Invalid move

About

A player vs. AI remake of traditional Chinese Chess!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published