Solve the no connection puzzle: Difference between revisions
Content added Content deleted
m (→annotated solutions: added wording to the REXX section header.) |
m (formatting of task description) |
||
Line 2: | Line 2: | ||
You are given a box with eight holes labelled A-to-H, connected by fifteen |
You are given a box with eight holes labelled A-to-H, connected by fifteen |
||
straight lines in the pattern as shown |
straight lines in the pattern as shown |
||
'''A''' '''B''' |
'''A''' '''B''' |
||
Line 32: | Line 31: | ||
Note that 7 and 6 are connected and have a difference of 1 so it is ''not'' a solution. |
Note that 7 and 6 are connected and have a difference of 1 so it is ''not'' a solution. |
||
⚫ | |||
;Task |
|||
;Reference: |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
* [[Solve a Hidato puzzle]] |
* [[Solve a Hidato puzzle]] |
||
* [[Solve a Hopido puzzle]] |
* [[Solve a Hopido puzzle]] |
||
Line 44: | Line 44: | ||
;See also |
|||
⚫ | |||
<br><br> |
|||
=={{header|Ada}}== |
=={{header|Ada}}== |
||
This solution is a bit longer than it actually needs to be; however, it uses tasks to find the solution and the used types and solution-generating functions are well-separated, making it more amenable to other solutions or altering it to display all solutions. |
This solution is a bit longer than it actually needs to be; however, it uses tasks to find the solution and the used types and solution-generating functions are well-separated, making it more amenable to other solutions or altering it to display all solutions. |