Sha256: bb29eb40111ac794f6a29a1961001c1b004e504d1be631a64785927004fd4a80

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 KB

Contents

                              MASTERMIND
               CREATIVE COMPUTING  MORRISTOWN, NEW JERSEY



NUMBER OF COLORS? 6
NUMBER OF POSITIONS? 4
NUMBER OF ROUNDS? 12
TOTAL POSSIBILITIES = 1296 


COLOR     LETTER
=====     ======
BLACK        B
WHITE        W
RED          R
GREEN        G
ORANGE       O
YELLOW       Y


ROUND NUMBER 1 ----

GUESS MY COMBINATION.

MOVE #  1  GUESS ? BBBB
YOU HAVE  0  BLACKS AND  0  WHITES.
MOVE #  2  GUESS ? WWWW
YOU HAVE  1  BLACKS AND  0  WHITES.
MOVE #  3  GUESS ? RRRR
YOU HAVE  0  BLACKS AND  0  WHITES.
MOVE #  4  GUESS ? GGGG
YOU HAVE  2  BLACKS AND  0  WHITES.
MOVE #  5  GUESS ? OOOO
YOU HAVE  1  BLACKS AND  0  WHITES.
MOVE #  6  GUESS ? WBBB
YOU HAVE  0  BLACKS AND  1  WHITES.
MOVE #  7  GUESS ? BWBB
YOU HAVE  0  BLACKS AND  1  WHITES.
MOVE #  8  GUESS ? BBWB
YOU HAVE  1  BLACKS AND  0  WHITES.
MOVE #  9  GUESS ? GGWO
YOU HAVE  2  BLACKS AND  2  WHITES.
MOVE #  10  GUESS ? GOWG
YOU GUESSED IT IN  10  MOVES!
SCORE:
     COMPUTER  0 
     HUMAN     10 

NOW I GUESS.  THINK OF A COMBINATION.
HIT RETURN WHEN READY:? 
MY GUESS IS: ROWO  BLACKS, WHITES ? 1,0
MY GUESS IS: GOGG  BLACKS, WHITES ? 0,0
MY GUESS IS: RBBY  BLACKS, WHITES ? 0,0
MY GUESS IS: WWWW  BLACKS, WHITES ? 4,0
I GOT IT IN  4  MOVES!
SCORE:
     COMPUTER  4 
     HUMAN     10 


ROUND NUMBER 2 ----

GUESS MY COMBINATION.

MOVE #  1  GUESS ? 
Error on line 380: 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/mastrmnd.output
basic101-0.2.0 test/integration/tests/basic_computer_games/mastrmnd.output
basic101-0.1.0 test/integration/tests/basic_computer_games/mastrmnd.output