Draw and Optimize Closed Orthogonal Paths
Connect dots with horizontal and vertical segments, close the path without crossing yourself, and turn every corner into a score. Then revise the whole construction—not just one corner—to push the total higher.
Close a path, score it, then improve it
Your goal: draw a closed path made only of horizontal and vertical segments. It must not cross, touch, or overlap itself. At each turn, multiply the lengths of the two meeting segments; add these products for the score.
- Small 5×5 dot board, Missions 1–6: learn the rules and scoring from examples, then draw a legal closed path scoring at least 39 in Mission 5. Reaching 64 is a further challenge.
- Larger 105-dot cross, Missions 7–8: inspect a 341-point example, then draw your own legal closed path scoring at least 64. Matching or beating 341 is optional.
A benchmark is a score to compare with. A maximum requires proof that every legal path scores no higher.
Multiply at each turn, then add
Adjacent dots are one unit apart. Unused dots are allowed; diagonal segments, self-crossings, overlaps, and open paths are not.
Legal first. Better next. Proven best only with proof.
The worked example compares paths scoring 39 and 64, then presents a larger cross-board benchmark of 341 with 32 turns. It challenges the reader to beat 341; it does not prove that 341 is the maximum.
Multiply the two segment lengths at a corner
Reconstruct the path that scores 39
Stretch to the boundary and reach 64
The worked example’s second path uses the full width and height of the 5-by-5 point array. Each of its four turns contributes 16.
Optional: why 64 is the greatest possible small-board score
Try drawing in Mission 5 first if you want to explore. This search groups paths by the cells they enclose. Its counts describe all tested regions, not your current drawing.
| High score | Number of simple regions with that score | Interpretation |
|---|---|---|
| Audit not run yet. | ||
Draw a legal path and improve its score
Close your path to calculate its score.
See why full-span rectangles are powerful
Decode the 105-dot cross path that scores 341
How often each corner product occurs
Build, save, and compare paths on the 105-dot cross
Close your path to calculate its score and compare it with 341.