making a game with a player driven stock market type deal where players can buy and sell materials too eachother via a global market place. im newer to the online aspect of games when it comes to coding them. would anyone have a rough idea on how to do this?
i have a couple equations already written on how to adjust the prices per supply of materials. i.e when stone is in increased supply the price will drop. but when stone is in high demand the price rises. i really just need to know if i can pull a variable from online (maybe a host constantly running on a personal server) to be able to change the prices in game for all the clients.