If I ran the server and the client separatelly on Android one of them wouldn’t work on older versions. Can I do that from a single sketch?
I tried having the “client” interact with the server by calling methods. That is difficult and I still need to implement network clients, so I have two different things that will tell the server to do one thing two different ways.
Also, I haven’t touched the networking since the start of the topic. I am implenenting kind of command-based interaction system.
Basically I send the server a string “shoot” and the server processes it and calls shoot(int playerID). Is it a good approach?