Bizorke / Gear3Engine-Issues

For bugs and features.
1 stars 0 forks source link

Stop passing GameSocket into SaucersClient. #1173

Closed JSideris closed 2 years ago

JSideris commented 3 years ago

Client should be refactored to resemble the server. Client side game instance should create its own game socket, similar to how the server instance creates a ws server. Reduces the amount of plumbing required to link servers used for ping experiments to the active game instance, and moves away from relying on a central state manager.

JSideris commented 3 years ago

Technically this is done because I've abolished the GameManager and GameSocket now accepts a server address and port. However, it's still not entirely clear how the new GameSocket will be set up, especially given that I want to allow switching servers mid-game. I'll keep it open for now until a working prototype is built.

JSideris commented 2 years ago

No longer applicable due to phase 4.