I wanted to make a game with a "serverless" mobile multiplayer game.
The idea was to have devices connect to each other automatically when they are within range.
There would be no global game state but just the one created by the first one to start their game or be in one place. When others join the game state is forwarded to them and the themselves send it to devices that are connected to them.
This happens everytime there is a significant change.
The game itself would be kind of an rpg with a location based gameplay (mostly to have the players socialize)
The idea was to only have players who are close to each other play together.
Now: the actual question: How can I realize this idea? Things I found online were Android Wifi Direct or Bluetooth but both seem to have their problems for this project. Is there any way I can actually build my game?
Thanks in advance.