Guides

Walkthroughs of cgt-tools.

  • Installing cgt-py

    cgt-py brings cgt-tools to Python. In this guide we install it with pip, set up a virtual environment on systems such as Debian that do not let pip install into the system's Python, and add Jupyter, which the interactive widgets run in.

  • Custom Jupyter Widgets

    The game widgets of cgt-py show one position and let us edit it, but they do not analyse it. They are meant to be composed with ipywidgets into small tools that recompute whatever we are interested in each time the position changes. In this guide we build two such tools.