Installation requires numpy
and matplotlib
with Python>=3.5
pip install calcudoku
from calcudoku.game import Calcudoku
from calcudoku.visualize import save_figure
game = Calcudoku.generate(6)
save_figure(game, 'puzzle.png', solution=False)
save_figure(game, 'puzzle_solution.png', solution=True)
Continue adding/fine tuning of various options to control the difficulty/originality of the puzzle generation.
Perhaps modify the code to allow for some variants to be generated as well