Skip to content

kevinbaru/Hammurabi-Python-edition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Hammurabi---Python

This is a python implementation of an old computer game called Hammurabi -http://www.hammurabigame.com/hammurabi-game.php. As the hammurabi, you play this game to try and increase the wealth of your kingdom

Rules

The game lasts 10 years, with a year being one turn.
Each year, enter how many bushels of grain to allocate to buying (or selling) acres of land, feeding your population, and planting crops for the next year.
Each person needs 20 bushels of grain each year to live and can till at most 10 acres of land.
Each acre of land requires one bushel of grain to plant seeds.
The price of each acre of land fluctuates from 17 bushels per acre to 26 bushels.
If the conditions in your country ever become bad enough, the people will overthrow you and you won't finish your 10 year term.
If you make it to the 11th year, your rule will be evaluated and you'll be ranked against great figures in history.

To play the game run it on any code editor

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages