Network Game Dev Diary: Players

Network Game Dev Diary: Players

Mar 18, 2019. | By: Lewis Bond
1 min

Players

The players move about the board when the user clicks on a tile. There are turns in the game are determined by the server so for now the first player starts then it recieves that data and sends it out to all the other players as well as which players turn it is next. It just increments a value until it reaches the max players then resets it back to the first player. The data is sent via a packet. The packet contains the map and the player data which the server then updates it data and feeds it out to the other players.

Images

The map displaying on the client.


PREVIOUS BLOG POST NEXT BLOG POST

About

Those who can do and those who can't teach games design.

Our Bunker



United Kingdom.