Hamurabi.bas.lua
Posted: Sat Mar 09, 2013 1:26 am
For kicks, I ported an old Basic game to Lua. While it's not a Love game, specifically, I figured that some may get a moment of frustration out of it and was worth sharing here.
Hamurabi is a city management game, played in 10 rounds, where you decide how much land to buy and sell, how much food to give your people, and how much grain to plant for the next harvest. If you starve too many people, the game abruptly ends. After 10 rounds, you get scored according to how many people starved, and how much land the city owns.
Link: https://gist.github.com/inmatarian/5121902
Protip: Plagues are apparently a good thing, the original game rules don't factor in that number of deaths against your final scores.
Here was the version I ported: http://vintage-basic.net/bcg/hammurabi.bas
Hamurabi is a city management game, played in 10 rounds, where you decide how much land to buy and sell, how much food to give your people, and how much grain to plant for the next harvest. If you starve too many people, the game abruptly ends. After 10 rounds, you get scored according to how many people starved, and how much land the city owns.
Link: https://gist.github.com/inmatarian/5121902
Protip: Plagues are apparently a good thing, the original game rules don't factor in that number of deaths against your final scores.
Here was the version I ported: http://vintage-basic.net/bcg/hammurabi.bas