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.


The task is to produce and show here ''one'' solution to the puzzle.


;Task
;Reference:
Produce and show here ''one'' solution to the puzzle.
[https://www.youtube.com/watch?v=AECElyEyZBQ No Connection Puzzle] (Video).

;Related Tasks:

;Related tasks:
* [[Solve a Hidato puzzle]]
* [[Solve a Hidato puzzle]]
* [[Solve a Hopido puzzle]]
* [[Solve a Hopido puzzle]]
Line 44: Line 44:




;See also
[https://www.youtube.com/watch?v=AECElyEyZBQ No Connection Puzzle] (youtube).
<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.