castle_wall
📖 Rule Reference: Read full rules on external site
🎮 Play Online: Play at puzz.link • 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 = """
10 10
- - 1wx - - - - - - -
- - - - - - 4so - 2wx -
- - - - 2so - - - - -
- 2sx - - - - - 4wo - -
- - - - - - - - - -
- - - - - - - - - -
- - 1wx - - - - - 0no -
- - - - - 1eo - - - -
- 0eo - 3no - - - - - -
- - - - - - - 3nx - -
"""
# Solve
res = puzzlekit.solve(problem_str, puzzle_type="castle_wall")
# Print solution grid
print(res.solution_data.get('solution_grid', []))
# Visualize (optional)
res.show()