DerangedSenators / copsandrobbers

2D Multiplayer Cops and Robbers Game made with Unity for the Aston University Team project module
https://www.copsandrobbers.co.uk
Apache License 2.0
6 stars 5 forks source link

TeamManagerScript #64

Closed ellimanh closed 3 years ago

hsravat-4590 commented 3 years ago

I think that team management should take place on the server. So when the server puts players into a game room it alternately assigns a team to each player. What do you guys think?

NoIdea050 commented 3 years ago

Sounds right to me, we would still be needing the Team Management script?

On Fri, 20 Nov 2020 at 16:29, Hanzalah Ravat notifications@github.com wrote:

I think that team management should take place on the server. So when the server puts players into a game room it alternately assigns a team to each player. What do you guys think?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/DerangedSenators/copsandrobbers/issues/64#issuecomment-731269761, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK4SEXDLVI32CULJ4XECXTDSQ2KPDANCNFSM4T3JHBFA .

ellimanh commented 3 years ago

I agree with that I've been trying to think how to simulate it without a connection. I can't see it working from a client side

hsravat-4590 commented 3 years ago

I guess we would still need a script of some kind which takes the server message indicating the team and then ensure that the player will be in that team. Do we want to give the player an option?