guessn
is a Python module designed for generating constraint-based puzzles. The module allows users to automatically find constrains for a puzzle with unique solution.
To install the guessn
module, ensure you have Python installed on your system. Then, run the following command from the root directory of the project, where the setup.py
file is located:
pip install .
This will install the guessn
module in your Python environment.
There are 2 types of puzzles supported by now
-
Guess integers which satisfy some divisibility constraints. See notebooks/arythmetic.ipynb for detailed usage examples.
-
Simple Zebra Puzzles. See notebooks/zebra.ipynb for detailed usage examples.