Nim game: Difference between revisions
m
no edit summary
m (→{{header|Tiny BASIC}}: Works with (Tom Pittman's) TinyBasic.) |
JsfasdF254 (talk | contribs) mNo edit summary |
||
Line 3:
{{task}}
Nim is a simple game where the second
Line 12:
To win every time, the second player simply takes 4 minus the number the first player took. So if the first player takes 1, the second takes 3
;Task:
Design a simple Nim game where the human player goes first, and the computer always wins. The game should enforce the rules.
=={{header|11l}}==
|