A Lumen/React app for playing checkers against an AI.
This was built to work in conjunction with the prediction app and can easily be run in a Kubernetes cluster here. The web app communicates to the prediction app within the cluster. From the web UI you can create new training sessions, view previous training sessions, and play against the current AI.
After setting up the Kubernetes cluster, you can set a domain value in the values.yaml file under web. Point that domain to localhost on your device and navigate there in your browser.
Developing in the Kubernetes cluster requires adding development_volume value to your values.yaml file in the imparaai/checkers-kubernetes repo an example of which can be seen in the web section of the values.example.yaml file.
Exec into the web container in the Kubernetes cluster and you should be dumped onto /var/www. From here, run the following:
composer install
yarn installThis will build the PHP and JS build dependencies.
To build:
npm run buildBuild on any file changes:
npm run watchTo test:
npm run test