Author Topic: Fluxuating Prices  (Read 2086 times)

Offline thubab2

Fluxuating Prices
« on: December 31, 2010, 05:05:55 pm »
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.
_________

neon lighting
La Jolla Shores Beach Hotel La Jolla Ca. Packages and Rate Specials