Xiangiqgame
AI engine for Xiangqi
|
Xiangqigame can be installed natively (preferably in a virtual environment or conda environment), or in a Docker container.
The above commands clone a copy of xiangqigame to the local machine, create and activate a conda environment, install xiangqigame into the newly created conda environment, and confirm the installation by running play_xiangqi
. This procedure is demonstrated in the following terminal recording.
For initial Docker set up and installation, run the following:
When you are done using the cpyenv
container, run exit
from the terminal prompt in the container to exit the container get back to a local terminal prompt in the ./xiangqigame/.devcontainer
directory. Then run docker compose down
to stop the container.
To re-start the container, run the following from the xiangqigame/.devcontainer
directory:
The full docker install procedure, including container shutdown, is demonstrated in the following terminal recording.