Skip to content

ken_ken

📖 Rule Reference: Read full rules on external site

🎮 Play Online: janko


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 = """
7 7
1- . 15+ 3 . 2 .
2 . . 28* . 12+ 504*
. 2 . 2 . . .
21* . 1- . 3+ . .
15+ 7+ . 105* 1260* . .
. 17+ . . . . .
. . . . . . .
1 1 2 3 3 4 4
5 2 2 6 6 7 8
5 9 9 10 7 7 8
11 11 12 12 13 13 8
14 15 15 16 17 17 8
14 18 18 16 16 17 8
14 14 18 18 18 17 17
"""

# Solve
res = puzzlekit.solve(problem_str, puzzle_type="ken_ken")

# Print solution grid
print(res.solution_data.get('solution_grid', []))

# Visualize (optional)
res.show()

Solution Output

7 7
5 6 7 1 3 4 2
2 5 3 4 7 6 1
4 3 6 2 1 5 7
3 7 4 5 2 1 6
1 2 5 3 6 7 4
6 4 1 7 5 2 3
7 1 2 6 4 3 5