tanliyon / gym-xiangqi

This repo sets up the environment to play Xiang Qi (chinese chess) following the OpenAI Gym framework.
GNU Lesser General Public License v3.0
32 stars 6 forks source link

Add unit tests for soldier, cannon and chariot. #20

Closed tanliyon closed 3 years ago

tanliyon commented 3 years ago

Description

This PR adds unit tests for soldier, cannon and chariot. No bugs were found, and with this PR, all the movement of the pieces for red has been tested.

Type of change

How has this been tested?

CI