Sha256: b17b7603eda8719233d5f7d72f537807767ee58e18cfdeaa55ad3b2fa40349a2

Contents?: true

Size: 1.45 KB

Versions: 3

Compression:

Stored size: 1.45 KB

Contents

                                 NUMBER
               CREATIVE COMPUTING  MORRISTOWN, NEW JERSEY



YOU HAVE 100 POINTS.  BY GUESSING NUMBERS FROM 1 TO 5, YOU
CAN GAIN OR LOSE POINTS DEPENDING UPON HOW CLOSE YOU GET TO
A RANDOM NUMBER SELECTED BY THE COMPUTER.

YOU OCCASIONALLY WILL GET A JACKPOT WHICH WILL DOUBLE(!)
YOUR POINT COUNT.  YOU WIN WHEN YOU GET 500 POINTS.

GUESS A NUMBER FROM 1 TO 5? 3
YOU HAVE 95 POINTS.

GUESS A NUMBER FROM 1 TO 5? 2
YOU HAVE 47.5 POINTS.

GUESS A NUMBER FROM 1 TO 5? 1
YOU HAVE 23.75 POINTS.

GUESS A NUMBER FROM 1 TO 5? 4
YOU HAVE 24.75 POINTS.

GUESS A NUMBER FROM 1 TO 5? 5
YOU HAVE 19.75 POINTS.

GUESS A NUMBER FROM 1 TO 5? 3
YOU HAVE 20.75 POINTS.

GUESS A NUMBER FROM 1 TO 5? 3
YOU HIT THE JACKPOT!!!
YOU HAVE 41.5 POINTS.

GUESS A NUMBER FROM 1 TO 5? 3
YOU HAVE 36.5 POINTS.

GUESS A NUMBER FROM 1 TO 5? 3
YOU HAVE 41.5 POINTS.

GUESS A NUMBER FROM 1 TO 5? 3
YOU HAVE 36.5 POINTS.

GUESS A NUMBER FROM 1 TO 5? 3
YOU HAVE 31.5 POINTS.

GUESS A NUMBER FROM 1 TO 5? 3
YOU HAVE 32.5 POINTS.

GUESS A NUMBER FROM 1 TO 5? 3
YOU HAVE 27.5 POINTS.

GUESS A NUMBER FROM 1 TO 5? 3
YOU HAVE 22.5 POINTS.

GUESS A NUMBER FROM 1 TO 5? 3
YOU HAVE 27.5 POINTS.

GUESS A NUMBER FROM 1 TO 5? 3
YOU HAVE 22.5 POINTS.

GUESS A NUMBER FROM 1 TO 5? 3
YOU HAVE 27.5 POINTS.

GUESS A NUMBER FROM 1 TO 5? 2
YOU HAVE 22.5 POINTS.

GUESS A NUMBER FROM 1 TO 5? 1
YOU HIT THE JACKPOT!!!
YOU HAVE 45 POINTS.

GUESS A NUMBER FROM 1 TO 5? 
Error on line 12: No more input

Version data entries

3 entries across 3 versions & 1 rubygems

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