I have had a game idea in the back of my head for a few years now, and if I do it multiplayer it would be concurrent turn based. Think along the lines of Toribash, but a totally different kind of game.
Users would 'program' their actions in for the next 5 seconds, during a paused state, then when all users input their actions, the simulation would run for 5 seconds and pause again, allowing users to update their commands.
Single player vs AI this would be fine (MAKING the AI for this game is a whole other story).
My concern is multiplayer.
Would different speed computer clients get out of synch? Or would it be okay if I count out (5 seconds x 30) 150 steps at 1/30 instead of running 5 seconds? Would this keep the clients in synch or would I need to have a 'master client' that tells the server what HIS game looks like and all other clients update every turn based on what that 1 client told the server?
Basically I am asking if given the same starting conditions and the same physics scenario and the same number and length of steps, will the result always be the same across all flash based machines whether they are Quad cores or old 486's?
Users would 'program' their actions in for the next 5 seconds, during a paused state, then when all users input their actions, the simulation would run for 5 seconds and pause again, allowing users to update their commands.
Single player vs AI this would be fine (MAKING the AI for this game is a whole other story).
My concern is multiplayer.
Would different speed computer clients get out of synch? Or would it be okay if I count out (5 seconds x 30) 150 steps at 1/30 instead of running 5 seconds? Would this keep the clients in synch or would I need to have a 'master client' that tells the server what HIS game looks like and all other clients update every turn based on what that 1 client told the server?
Basically I am asking if given the same starting conditions and the same physics scenario and the same number and length of steps, will the result always be the same across all flash based machines whether they are Quad cores or old 486's?