Jump to content

Solve triangle solitaire puzzle: Difference between revisions

Line 372:
┃● ● ● ● ●┃
┗━━━━━━━━━┛
"
func solve . solution$ .
solution$ = ""
Line 388:
brd$[pos + 2 * dir] = "·"
if solution$ <> ""
breaksolution$ 2= str_join brd$[] & solution$
break 3
.
.
Line 394 ⟶ 395:
.
.
if npegs = 1 or solution$ <> ""
solution$ = str_join brd$[] & solution$
.
.
2,083

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.