indigo-omega / laserx

the laser tag repo (until we will have a better name for it)
GNU General Public License v3.0
0 stars 0 forks source link

Create a control server #8

Open shaiTheKimhi opened 5 years ago

shaiTheKimhi commented 5 years ago

TCP Sockets seems to be the best option to me...

yotam180 commented 5 years ago

Can't think of a better option than TCP sockets.

The issue is the WiFi layer -- we need to figure how to setup multiple access points (to cover the arena) for the same control server.

shaiTheKimhi commented 5 years ago

The question is how large is the coverage of single router as access point. the server could be global on a remote server, even though it could create other problems.

yotam180 commented 5 years ago

A remote server, as you wrote, might be problematic (mobiel internet access required, what about places without a strong signal, lags due to server response time). I recommend leaving the main logic unit that runs the game inside the arena, in one of the access points.

shaiTheKimhi commented 5 years ago

I think this is a possible solution to the communication problem from different access points: `https://www.techwalla.com/articles/how-to-connect-computers-that-are-on-2-different-subnets