Skip to content

Shimaguni

📖 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
- 2 3 - - -
- - - - - -
- - - 4 - -
- - - - - -
- 1 - - - -
- - - - - -
1 2 4 4 4 4
1 2 1 1 1 1
1 2 1 5 5 1
1 2 1 3 5 1
1 3 3 3 5 1
1 1 1 1 1 1
"""

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

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

# Visualize (optional)
res.show()

Solution Output

6 6
- x - x x x
- x - - - -
x - - x x -
x - - - x -
x - x - x -
x x - - - -