Skip to content

nawabari

Aliases: Territorium

📖 Rule Reference: Read full rules on external site

🎮 Play Online: Janko • Play at puzz.link


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 = """
8 8
- - 1 - - - - -
- - - - - - - -
- - - - - 3 2 -
2 - 3 - - - - -
3 - - 2 - 3 2 -
- 3 2 - 4 - - -
- 4 - - 2 - 3 3
4 - - 3 - - - 3
"""

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

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

# Visualize (optional)
res.show()

Solution Output

8 8
1 1 1 1 1 1 15 15
1 1 1 1 1 1 15 15
2 2 8 8 8 8 15 15
2 2 9 9 9 9 16 16
3 5 10 10 10 14 16 16
3 5 11 11 12 14 17 19
3 6 11 11 13 13 17 19
4 7 7 7 13 13 18 18