Help! Is it possible to make it multi online & local? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Help! Is it possible to make it multi online & local?

I have write a game and would like to learn how to make it multi online & local. For now, it is a turned base pvp. Here is the isssue: https://github.com/Meakad/My-Games/issues/1

3rd May 2021, 11:42 AM
Mohammed El Amine Kaddar
10 Answers
0
It is not really possible to send or get udp or tcp packages with batch, but you can create a program that gets the data with c++ or any other language and sends the data to the server, which you need to create in c#,c++,...
27th May 2021, 11:56 AM
Julian Bents
Julian Bents - avatar
0
I tought about connecting all computers tough there ip, making a small network...is that possible?
27th May 2021, 12:56 PM
Mohammed El Amine Kaddar
0
When you connect to a device you connect to the ip:port and you need to open the port on every device to actualy send data without a server
27th May 2021, 1:02 PM
Julian Bents
Julian Bents - avatar
0
This is it! I think I need the autorisation from both side like a server is it right? Won't it be more clever and faster?
27th May 2021, 1:08 PM
Mohammed El Amine Kaddar
0
The think is you need to open ports on every device and i dont think it would be faster cause you dont have a separat machine that handles everything
27th May 2021, 2:55 PM
Julian Bents
Julian Bents - avatar
0
Exact
27th May 2021, 4:13 PM
Mohammed El Amine Kaddar
0
So how to get this machine I am pretty sure it is a better way
27th May 2021, 4:14 PM
Mohammed El Amine Kaddar
0
Like a freeway
27th May 2021, 4:14 PM
Mohammed El Amine Kaddar
0
How to get this machine? - Make an executable server programm that you can run on any system
29th May 2021, 12:47 AM
Julian Bents
Julian Bents - avatar
0
Might be cool
29th May 2021, 4:00 AM
Mohammed El Amine Kaddar