Hello everybody. Iam currently developing the offline version of a small turn-based game and want to “scan ahead” for the following:
The number of players will be 2, maybe 4-8 later on, turn mode is we-go (choose action, executed for everybody at the same time)
Is the following process possible, advisable performancewise, and do you know any middleware which would make the task easier?
- Client chooses his actions (Move from x to y, Shoot at z), which are not executed yet.
- Client sends his desired actions (as a struct for instance) to the server.
- The Server receives actions from all active players and calculates the outcome.
- The actual outcome data is transmitted back to the client (same data for everybody) and displayed as action (As if every client would watch a movie)