Solve a Hidato puzzle: Difference between revisions

Content added Content deleted
(Replaced "split" with "splitWhiteSpace". Created a Hidato type to manage context. Changed to allocate the board dynamically. Change indentation to conform to style guide. Many other changes.)
m (Changed a var to const.)
Line 2,716: Line 2,716:




var hi = """
const Hi = """
__ 33 35 __ __ . . .
__ 33 35 __ __ . . .
__ __ 24 22 __ . . .
__ __ 24 22 __ . . .
Line 2,726: Line 2,726:
. . . . . . 5 __"""
. . . . . . 5 __"""


var hidato = initHidato(hi)
var hidato = initHidato(Hi)
hidato.print()
hidato.print()
echo("")
echo("")