I would like to create a game where the players creates differents products (call it offers), and I give them a certain number of customers (call it demands). Players can choose the price and the quality of their products (and may be other variables).
Now, I want an algorithm to decid what's the market share of each products. Of course, I could just make mine right now, using random. But before doing this, I prefer to ask, because I'm sure that's a lot of people already tried to do this before me!
My question is not really precise, it's because your answer doesn't need to be precise too ;)
Thank you in advance!