The scenario of Hammurabi is that you are managing a feudal kingdom, and you have limited resources. You want your kingdom to grow. On occasion, the rats eats part of your grain storage. If you don't have enough food for the people in your city, they will remove you from office (and you lose the game). To win requires carefully balancing your resources to grow your acreage, feed your people, and sow crops to have grain for the coming year. Hammurabi was an ancient ancestor of games like Populus or Civilization, where the player are in charge of managing economies and populace.
Hey look, it's Hammurabi!