In order to also clone the 3rd party logging library, please remember to update submodules. Without this, the code will not compile.
git clone https://github.com/SzyJ/GNAT_Core
cd GNAT_Core
git submodule init
git submodule update
Server:
- Wait for X amount of clients to send msg, save their IP
- Gain Ping of each client
- Start Loop that brodcasts state every X Miliseconds
Client:
- Send Join Message to server
- Respond to Ping request
- Receive real state from server and update local values
- Listen for input from terminal. Send this update to Server
Peer (Session-Host):
- Listen on one port for X Join Requests
- Boradcast IP of each Peer along with their starting value
Peer (Normal):
- Send Join Request
- Listen for info about each Peer, update local knowledge
Peer:
- Receive from each client on a different port
- Listen for terminal input and broadcast this value to all other peers