Nim game: Difference between revisions

Content added Content deleted
No edit summary
Line 1,169: Line 1,169:
let h = 12
let h = 12


do
label loop


print "There are ", h ," tokens remaining."
print "There are ", h ," tokens remaining."
Line 1,204: Line 1,204:
endif
endif


goto loop</syntaxhighlight>
loop</syntaxhighlight>


=={{header|Crystal}}==
=={{header|Crystal}}==