Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 875 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 875 Bytes

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