Sha256: 62de411503637c6ed35250e5a1bbff994dfa6218bd77049ee803009666943970

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

                                FLIPFLOP
               CREATIVE COMPUTING  MORRISTOWN, NEW JERSEY

THE OBJECT OF THIS PUZZLE IS TO CHANGE THIS:

X X X X X X X X X X

TO THIS:

O O O O O O O O O O

BY TYPING THE NUMBER CORRESPONDING TO THE POSITION OF THE
LETTER ON SOME NUMBERS, ONE POSITION WILL CHANGE, ON
OTHERS, TWO WILL CHANGE.  TO RESET LINE TO ALL X'S, TYPE 0
(ZERO) AND TO START OVER IN THE MIDDLE OF A GAME, TYPE 
11 (ELEVEN).

HERE IS THE STARTING LINE OF X'S.

1 2 3 4 5 6 7 8 9 10
X X X X X X X X X X

INPUT THE NUMBER? 1
1 2 3 4 5 6 7 8 9 10
O X X X X X X O X X 
INPUT THE NUMBER? 2
1 2 3 4 5 6 7 8 9 10
O O X X O X X O X X 
INPUT THE NUMBER? 3
1 2 3 4 5 6 7 8 9 10
O O O O O X X O X X 
INPUT THE NUMBER? 6
1 2 3 4 5 6 7 8 9 10
O O O O O O O O X X 
INPUT THE NUMBER? 9
1 2 3 4 5 6 7 8 9 10
O O O O X O O O O X 
INPUT THE NUMBER? 10
1 2 3 4 5 6 7 8 9 10
O X O O X O O O O O 
INPUT THE NUMBER? 2
1 2 3 4 5 6 7 8 9 10
O O O O O O O O O O 
VERY GOOD.  YOU GUESSED IT IN ONLY 7 GUESSES.
DO YOU WANT TO TRY ANOTHER PUZZLE? NO

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
basic101-0.4.0 test/integration/tests/basic_computer_games/flipflop.output
basic101-0.2.0 test/integration/tests/basic_computer_games/flipflop.output
basic101-0.1.0 test/integration/tests/basic_computer_games/flipflop.output