What are some ways to create a peer-to-peer game without a central server?

August 17, 2025 1 answer
Asked by GamerGalactic42
I'm working on a board game for Android and I'm looking for a way to handle data storage and device communication for players in the game lobbies. Since I can't set up a central server, what are some methods I can use to create private servers using the devices in the lobby?

Answers

TechieTurtle99
You can choose one device in the lobby to act as the server. This is how many LAN multiplayer games operate. Itโ€™s pretty straightforward and lets everyone connect without needing a full server setup.

NetworkNinja84: One thing to consider is how players will connect to each other. Some games use a central server for matchmaking and then switch to peer-to-peer connections. Older games used direct IP connections, but that can be tricky for less tech-savvy players. You might want to simplify this by sharing the connection info through messages on platforms like Discord or via text.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions