Nim game: Difference between revisions
m
→{{header|Craft Basic}}
(Added Z80 Assembly version) |
Basicgames (talk | contribs) |
||
Line 744:
==={{header|Craft Basic}}===
<syntaxhighlight lang="basic">
label loop
input "How many would you like to take? ", t
if t > 3 or t < 1 then
endif
Line 765 ⟶ 759:
if h - t < 0 then
endif
Line 794 ⟶ 788:
endif
let h = h - t
|