/jsxiangqi

A Chinese chess game written in Javascript

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

jsxiangqi

A Chinese chess game written in Javascript

Instructions

You will need python installed and closure library + compiler to be located at the parent dir ..

Then run build.cmd will build the final chess.js

Open the chess.html and enjoy.

Testing

Open SpecRunner.html should run all the tests (using Jasmine).

TODOs

A few enhancements:

  • Add validation: only allow correct moves. [DONE]
  • Be able to new/export/save a game