Hi, If anyone is interested in testing or beta-testing The Mind, now is a great time to jump in!
Most of the online networking infrastructure is now in place, and you can already:
Connect with other players online and see who's in the Lobby.
Create and join Fighting Rooms.
Invite other players and use the social features.
Start matches and fight against each other online!
If you're interested in the technical side, I've documented most of the underlying networking architecture here:
Lobby
In short, the game uses two different networking protocols:
TCP handles the Lobby, player connections, friends, private messages, Fighting Rooms and match coordination.
UDP handles actual battles, gameplay inputs and real-time match synchronization.
If you're playing without a VPN and are behind a firewall or NAT, you may need to configure your network to allow the required TCP and UDP traffic. Using a VPN is another option and can simplify connectivity, although it requires a little more setup.
Two server options
There are currently two available server implementations:
Built-in Lua server: Integrated directly into the game, so no additional software is required. This is currently the primary implementation being tested.
Node.js server: Based on the original NoobHub project. The built-in Lua server is essentially a port of this original Node.js implementation.
Default network ports:
Port Protocol Purpose
1337 TCP Lobby and social communication
1338 UDP Real-time battles
2337 TCP WebSocket server (Node.js implementation)
If you use the Built-in Lua server you can configure the ports through the settings in the lobby.
Still a work in progress!
There is still work to do, particularly on battle synchronization, but the core online experience is already functional. I'd really appreciate having more people testing it, reporting bugs and helping improve the multiplayer experience.
Any bug reports, suggestions, feedback or general impressions are very welcome!
If you give it a try, let me know how it goes. And, of course, have fun!