Sha256: dd08d1b799a60084efd30467dfa39ac4de279a9c4dbd840b59e0974105bc295c

Contents?: true

Size: 1.33 KB

Versions: 3

Compression:

Stored size: 1.33 KB

Contents

                                HAMURABI
               CREATIVE COMPUTING  MORRISTOWN, NEW JERSEY



TRY YOUR HAND AT GOVERNING ANCIENT SUMERIA
FOR A TEN-YEAR TERM OF OFFICE.



HAMURABI:  I BEG TO REPORT TO YOU,
IN YEAR 1 , 0 PEOPLE STARVED, 5 CAME TO THE CITY,
POPULATION IS NOW 100 
THE CITY NOW OWNS  1000 ACRES.
YOU HARVESTED 3 BUSHELS PER ACRE.
THE RATS ATE 200 BUSHELS.
YOU NOW HAVE  2800 BUSHELS IN STORE.

LAND IS TRADING AT 22 BUSHELS PER ACRE.
HOW MANY ACRES DO YOU WISH TO BUY? 20

HOW MANY BUSHELS DO YOU WISH TO FEED YOUR PEOPLE? 2000

HOW MANY ACRES DO YOU WISH TO PLANT WITH SEED? 500


HAMURABI:  I BEG TO REPORT TO YOU,
IN YEAR 2 , 0 PEOPLE STARVED, 7 CAME TO THE CITY,
POPULATION IS NOW 107 
THE CITY NOW OWNS  1020 ACRES.
YOU HARVESTED 4 BUSHELS PER ACRE.
THE RATS ATE 27 BUSHELS.
YOU NOW HAVE  2083 BUSHELS IN STORE.

LAND IS TRADING AT 23 BUSHELS PER ACRE.
HOW MANY ACRES DO YOU WISH TO BUY? 20

HOW MANY BUSHELS DO YOU WISH TO FEED YOUR PEOPLE? 1900
HAMURABI:  THINK AGAIN.  YOU HAVE ONLY
 1623 BUSHELS OF GRAIN.  NOW THEN,
HOW MANY BUSHELS DO YOU WISH TO FEED YOUR PEOPLE? 600

HOW MANY ACRES DO YOU WISH TO PLANT WITH SEED? 600

YOU STARVED 77 PEOPLE IN ONE YEAR!!!
DUE TO THIS EXTREME MISMANAGEMENT YOU HAVE NOT ONLY
BEEN IMPEACHED AND THROWN OUT OF OFFICE BUT YOU HAVE
ALSO BEEN DECLARED NATIONAL FINK!!!!

SO LONG FOR NOW.

Version data entries

3 entries across 3 versions & 1 rubygems

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