Change turns between 2 players

Hello all
How to make two players play with turns, I mean one by one, that means when the turn is for one of them, the other can not play.
The two players control with the mouse cursor, It looks like a Chess game, and the game goes to be online.

Please do not create copies (How to change between 2 players?) of your posts.

Repeated threads for your same question aren’t allowed. Please avoid it in the future.