Sha256: a88ff47e74aa4c50a7af9a175ad45a8a1b85098b3b7f978eb6d83fa346ae04a8

Contents?: true

Size: 910 Bytes

Versions: 3

Compression:

Stored size: 910 Bytes

Contents

                               MATH DICE
               CREATIVE COMPUTING  MORRISTOWN, NEW JERSEY



THIS PROGRAM GENERATES SUCCESIVE PICTURES OF TWO DICE.
WHEN TWO DICE AND AN EQUAL SIGN FOLLOWED BY A QUESTION
MARK HAVE BEEN PRINTED, TYPE YOUR ANSWER AND THE RETURN KEY.
TO CONCLUDE THE LESSON, TYPE CONTROL-C AS YOUR ANSWER.


 ----- 
I * * I
I     I
I * * I
 ----- 

   +

 ----- 
I * * I
I  *  I
I * * I
 ----- 

      =? 9
RIGHT!

THE DICE ROLL AGAIN...

 ----- 
I * * I
I     I
I * * I
 ----- 

   +

 ----- 
I * * I
I     I
I * * I
 ----- 

      =? 8
RIGHT!

THE DICE ROLL AGAIN...

 ----- 
I *   I
I  *  I
I   * I
 ----- 

   +

 ----- 
I * * I
I     I
I * * I
 ----- 

      =? 1
NO, COUNT THE SPOTS AND GIVE ANOTHER ANSWER.
      =? 7
RIGHT!

THE DICE ROLL AGAIN...

 ----- 
I *   I
I  *  I
I   * I
 ----- 

   +

 ----- 
I * * I
I * * I
I * * I
 ----- 

      =? 
Error on line 520: 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/mathdice.output
basic101-0.2.0 test/integration/tests/basic_computer_games/mathdice.output
basic101-0.1.0 test/integration/tests/basic_computer_games/mathdice.output