ai library template
1.0.0
This template contains CI/CD workflows and invoke tasks for an AI library.
Add following items to repository secrets:
| Name | Where to get it |
|---|---|
CODECOV_TOKEN |
Codecov |
PYPI_TOKEN |
PyPI |
You need to implement at least the following classes from duo-game-lib:
Player, represents the AIJudge, responsible for game rulesCreate new repository from this template
Implement the AI
Deploy the package to PyPI with deployment workflow
Add AI library to tira-ai-platform
poetry add ai-library-nameAdd factory method for the AI in PlayerFactory
Add factory method for the game with Judge class in GameFactory
The relations between duo-game-lib classes can be found in architecture document of the main project. connect-four-lib can be used as an example for an AI library.
version in pyproject.toml, use semantic versioningImportant
Before publishing the package to PyPI:
src/name_of_ai_lib to a desired name and update packages in pyproject.tomlname in pyproject.toml