Multi player - how to lock users


Do you have examples of games where the player turn is enforced and the others are locked while waiting for their turn ?

I’d like to see their code.

Do you think it’s a good practice to do so ? I was thinking we should play like around a table, and it’s just by talking and commenting we define whose turn it is, and what they should or should not do (plus the log is very useful).

Thanks for your suggestions and comments