I"m going to use Socket.IO to implement a game similar to hearthstone.
however, as I am used to RESTFUL API design, I don"t understand how to use Socket.IO to control or verify whether a player has reached his trading round.
I hope experienced people can guide me on how to design round , round , time control and so on
from the point of view of code logic.