Solve triangle solitaire puzzle: Difference between revisions
→{{header|EasyLang}}
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
|||
Line 365:
=={{header|EasyLang}}==
<syntaxhighlight lang="text">
brd$[] = strchars "
┏━━━━━━━━━┓
┃ · ┃
Line 375 ⟶ 376:
func solve . solution$ .
solution$ = ""
for pos
if brd$[pos] = "●"
npegs += 1
|