Sha256: eedc44498358f291bb1471808ab16c0563c3069348c64861955a36073f6160af
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
NIM CREATIVE COMPUTING MORRISTOWN, NEW JERSEY THIS IS THE GAME OF NIM. DO YOU WANT INSTRUCTIONS? YES THE GAME IS PLAYED WITH A NUMBER OF PILES OF OBJECTS. ANY NUMBER OF OBJECTS ARE REMOVED FROM ONE PILE BY YOU AND THE MACHINE ALTERNATELY. ON YOUR TURN, YOU MAY TAKE ALL THE OBJECTS THAT REMAIN IN ANY PILE, BUT YOU MUST TAKE AT LEAST ONE OBJECT, AND YOU MAY TAKE OBJECTS FROM ONLY ONE PILE ON A SINGLE TURN. YOU MUST SPECIFY WHETHER WINNING IS DEFINED AS TAKING OR NOT TAKING THE LAST OBJECT, THE NUMBER OF PILES IN THE GAME, AND HOW MANY OBJECTS ARE ORIGINALLY IN EACH PILE. EACH PILE MAY CONTAIN A DIFFERENT NUMBER OF OBJECTS. THE MACHINE WILL SHOW ITS MOVE BY LISTING EACH PILE AND THE NUMBER OF OBJECTS REMAINING IN THE PILES AFTER EACH OF ITS MOVES. ENTER WIN OPTION - 1 TO TAKE LAST, 2 TO AVOID LAST? 2 ENTER NUMBER OF PILES? 2 ENTER PILE SIZES 1 ? 10 2 ? 6 DO YOU WANT TO MOVE FIRST? YES YOUR MOVE - PILE, NUMBER TO BE REMOVED? 1,10 MACHINE WINS do you want to play another game? NO
Version data entries
3 entries across 3 versions & 1 rubygems