Singleplayer
ACBob opened this issue · comments
Client creates a thread for the server and runs the server main loop on it, communicating with it.
Probably randomise the Port number used, like MC does. (Open To Lan maybe changes the server port, and allow a custom one?)
I need to tear the code a new one before I can get anywhere close to this.
I was able to get a mockery single-player by opening the server executable in a separate thread, but I couldn't figure out pipes (nor a windows version of that!) to tell it to close.
Pushing back to alpha 2!