Solve triangle solitaire puzzle: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
Line 365:
 
=={{header|EasyLang}}==
<syntaxhighlight lang="text">brd$[] = strchars "
brd$[] = strchars "
┏━━━━━━━━━┓
┃ · ┃
Line 375 ⟶ 376:
func solve . solution$ .
solution$ = ""
for pos range= 1 to len brd$[]
if brd$[pos] = "●"
npegs += 1