Answer the question
In order to leave comments, you need to log in
Server for online game on Android?
Hello. Until that time, he was engaged in the development of games for android without the use of network technologies. But now I wanted to make one game. The essence is about the same as online poker, but instead of poker, an economic game. The architecture is the same: there are rooms for n players (from 2 to 8), the player can create this room and wait for other players to join. When there are enough people, the game will start. Also, players should see in the list all created and unfilled rooms.
At the moment, I managed to create an application (client) for android and a server for Java. It all works on sockets. When starting the server, you need to specify the number of players in the room. Those. as you might already understand, the server only supports 1 room and you won't be able to create a list of these rooms.
As I understand it, the task that I set for myself cannot be realized using these sockets and I will have to make the server according to a completely different scheme using other technologies. I saw a lot of posts about Rest, Spring .. but I am 0 in these technologies.
So, where should I start, what should I use and are there any examples of how all this can be done?
Thanks in advance :).
Answer the question
In order to leave comments, you need to log in
"rooms" is a virtual entity, just give your sockets on the server the number of the room they are attached to. in fact, the sockets are the same, only the number (or id) of the room is added.
Для этого достаточно Google Play Games Services. Там есть мультиплеер, курите их маны. https://developers.google.com/games/services/commo...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question