Skip to content

Geradeweg

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

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

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

# Visualize (optional)
res.show()

Solution Output

5 5
se ew sw se sw
ns - ns ns ns
ne sw ns ns ns
se nw ne nw ns
ne ew ew ew nw