Author Topic: Fluxuating Prices  (Read 2301 times)

swifty

  • Guest
Fluxuating Prices
« on: January 31, 2007, 06:13:21 am »
A good bit of code would to increase or decrease the price of an item based on popularity and rarity. If someone buys an item the price slowly goes up. Maybe add some code that if it has been awhile since the last purchase once someone buys the item the price goes down. Or just add a cron job that checks all the items and changes values based on item activity. Once items get closer and closer to 1 they go up significantly.

I guess along the same manor you could do stocks. people can buy stocks and create a php that is called in a cron job that gives random stocks money.

Just some ideas.