Skip to content

logicblocker/xiangqi-agent

Repository files navigation

xiangqi-agent

AI Agent for Chinese Chess (Xiangqi) - CS 221 Project


Install

# clone
git clone https://github.com/logicblocker/xiangqi-agent.git
cd xiangqi-agent 

# Install dependencies
npm install

# start server
npm start

Open your browser, go to http://localhost:3000/ and you should be good to go




Live Performance Analysis



Demo




Disclaimer

  • AI algofithms in the backend computation engine need to be enchanced (I was a bit hasty when then poster session was approaching >_<)

    • MCTS and TDLearning implementations are not solid
    • reinforcement learning part seldom works
  • Effienciency need to be imporved

    • Current computation engine is in javascript, which is not fast enough (I did not know how to call other executables from nodeJS then..., but now I do, please see below)
    • You may implement a more powerful engine in C/C++ by calling a subprocess in server, NodeJS Child Process should help



Thanks for your interest :)

About

AI agent for Xiangqi (Chinese Chess) with multiple strategies: MCTS, TD learning, Alpha–Beta pruning, and Greedy search. Web UI built with Angular and Node.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages