Sha256: 8d7408412bac8e36b584aa54af1e1ab69070ced2d571d8f5dc72d002c825202e

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 KB

Contents

                                 TARGET
               CREATIVE COMPUTING  MORRISTOWN, NEW JERSEY



YOU ARE THE WEAPONS OFFICER ON THE STARSHIP ENTERPRISE
AND THIS IS A TEST TO SEE HOW ACCURATE A SHOT YOU
ARE IN A THREE-DIMENSIONAL RANGE.  YOU WILL BE TOLD
THE RADIAN OFFSET FOR THE X AND Z AXES, THE LOCATION
OF THE TARGET IN THREE DIMENSIONAL RECTANGULAR COORDINATES,
THE APPROXIMATE NUMBER OF DEGREES FROM THE X AND Z
AXES, AND THE APPROXIMATE DISTANCE TO THE TARGET.
YOU WILL THEN PROCEEED TO SHOOT AT THE TARGET UNTIL IT IS
DESTROYED!

GOOD LUCK!!


RADIANS FROM X AXIS = 3.448294    FROM Z AXIS = 4.493664 
TARGET SIGHTED: APPROXIMATE COORDINATES:  X= 56094.95   Y= 17764.95   Z=-13079.22 
     ESTIMATED DISTANCE: 60270 

INPUT ANGLE DEVIATION FROM X, DEVIATION FROM Z, DISTANCE? 0
Too few items, try again
? 0,10,20

RADIANS FROM X AXIS = 0   FROM Z AXIS = 0.1745323 
SHOT BEHIND TARGET 56091.48 KILOMETERS.
SHOT TO RIGHT OF TARGET 17764.95 KILOMETERS.
SHOT ABOVE TARGET 13098.91 KILOMETERS.
APPROX POSITION OF EXPLOSION:  X= 3.47295    Y= 0    Z= 19.69616 
     DISTANCE FROM TARGET = 60277.93 



     ESTIMATED DISTANCE: 60276 

INPUT ANGLE DEVIATION FROM X, DEVIATION FROM Z, DISTANCE? 
Error on line 405: 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/target.output
basic101-0.2.0 test/integration/tests/basic_computer_games/target.output
basic101-0.1.0 test/integration/tests/basic_computer_games/target.output