0 votes

I already build my concept of the game but your only opponent is the "ai" I created. I want the game to have a multiplayer. I want it a client to client only with no server. It uses one of the clients hotspot and the other client is connected to it.

The concept of the game is when the client(1) send word, the other client(2) must answer a word that start with the last letter of the word that client(1) send.

Is it possible to do that? If it's possible how can I do it?

Thanks for the help in advance.

in Engine by (27 points)

Why don't you want a server? One player can be a server (master), and other one can be client (puppet). The player that hosts (is server) can also play the game, it doesn't have to be a dedicated server. So you would have a LAN game as hotspot basically acts like a router.

In short, it's possible, but I would suggest you do it with master-puppet architecture, not p2p. Check the tutorial below.

https://docs.godotengine.org/en/3.1/tutorials/networking/high_level_multiplayer.html

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.