Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Startup Costs

Sign in to follow this  


Debugging a small problem led me to have to institute a new feature.

Each round in my game, a certain number of resources are used for upkeep of the current populace of the hovel/hamlet/village. The game starts at the "end" of round 0, which means that at the end of Round 1, the upkeep costs for Round 1 are removed from inventory before the profits from Round 1 are tallied. The idea behind this is that you cannot use the profits on the same round that they are created. This means that, since there are no profits extant from round 0, at the end of round 1 the village is already in the hole, economically speaking.

Two ways out of this: Make round 1 "special" in that there are no costs for round 1, or start with a certain amount of profit already in the "bank". Well, as a programmer I hate Hate HATE exceptions to rules, so I decided to front-load the inventory. Now there are a few rounds of leeway to get the village up and running before the death toll from starvation and over-work kicks in.

In other news, I am reading a couple of books which go hand-in-hand quite well: The System of the World by Neal Stephenson, and Basic Economics by Thomas Sowell. The first is the third book in a trilogy about (among other things) the creation of the modern system of economics, and the second is an introductory economics textbook geared toward people who have no real understanding of the topic. Between the two I am learning a great deal about how value works, and I realize that even the most complex economic sim I have ever played barely scratches the surface of the real world.

I am also watching the Century of the Self, about how Freud's nephew Edward Bernays almost single-handedly turned us into a society of consumers. If I can wrap my head completely around the ideas in these three sources I will soon take over the world.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!