Cribbage Service is an API to support the Cribbage scoring engine for the classic card game.
Now available as a ChatGPT Plugin!
python -m pytest
Create a virtual environment and type this pip command at the command line.
pip install -r requirements.txt
The below commands will run the server and will output a URL you can use to access it.
set FLASK_APP=app
flask run
export FLASK_APP=app
flask run
This repo is also set up to store a copy of the app as a docker container to the Azure container registry and deploy a copy of that container to Azure.
As well as providing a full API for scoring cribbage games, the server also has a simple UI for manual investigation & use.