I just started learning AS3, so I started with the simplest game I had lying around. The original version of this game was written in BASIC during the 1970s.
My first original game will be a resource-management game, so this is practice. My artwork needs even more practice, so be patient.
Details on HAMURABI and its history are in the Flash.
UPDATE - Improved the math - that was terrible. For some reason I got the feedPeople and growPopulation functions mixed up. Also made it a bit harder, and restored the defaults on how much grain to feed people, and how much grain it takes to plant land.
Updated the FAQs, but you still have to figure out the rules on your own.