ACBob / VoxelThingYeah

Voxel Game Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Singleplayer

ACBob opened this issue · comments

commented

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?)

commented

Depends on #17

commented

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!