Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 533 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 533 Bytes

Xiangqi (Chinese Chess)

A pure css implementation of the Chinese Chess, Xiangqi.

Chess.jpg

This library provides basic layout and move APIs of the chess map.

The core functionality is to provide UI drawings, and other optional chess rules can also be enforced if needed.

Usage

# install dependencies
npm install

# build client
npm run build

# start server
npm run server

The open http://localhost:8080/chess to check the UI.

Disclaimer

Inspired by https://github.com/leidZhang/JSXiangqi.