A
A
Alexander Sinitsyn2019-03-23 19:48:26
Android
Alexander Sinitsyn, 2019-03-23 19:48:26

What are the options for the interaction of players on several Android devices?

Connection: bluetooth, wifi, inet.
Moves are made by certain algorithms of players simultaneously and must be processed for compliance with the rules and collisions should be caught. The result is displayed the same for everyone.
So far, there are only two ideas ... one for bluetooth and wi-fi, the second for the Internet.
1) One device is the master, the rest are slaves. Followers transmit their moves. The presenter processes and returns the result for display.
2) Clients submit their move generation algorithms. The server quickly replays their interaction to the point and feeds back a record of all moves for playback on clients.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question