Answer the question
In order to leave comments, you need to log in
How to organize a client account in the game?
How is it usually done in this case?
I am writing an online checkers game. Client-server application. The client logs in with his username / password (if not, then he first registers), enters and then can choose from the list of players the one he wants, and he is free and offers to play, or he is offered.
But there's a problem. But what if the client under the same record entered the same account (for example, from a computer and from a phone). And then they offer him to play. At us on both clients should on idea the same be displayed? After all, he is listed only once in the list of players? Type we remember the list of hosts and ports of this client, and then we throw all messages for it on these hosts?
Or is it better to just not allow more than one client to log in with one account? (In general, it is supposed to make clients only as mobile for iOS).
Answer the question
In order to leave comments, you need to log in
At us on both clients should on idea the same be displayed?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question