CanalView
📖 Rule Reference: Read full rules on external site
Input Format
TBD
Output Format
TBD
Examples
Python Quick Start
Use the following code to solve this puzzle directly:
import puzzlekit
# Raw input data
problem_str = """
6 6
- 4 - - - -
- 1 6 - 3 -
3 - - - 3 -
- - - 5 3 -
5 - - - - -
- 2 - - - -
"""
# Solve
res = puzzlekit.solve(problem_str, puzzle_type="canal_view")
# Print solution grid
print(res.solution_data.get('solution_grid', []))
# Visualize (optional)
res.show()