tomgroenwoldt / keyglide-cli

0 stars 0 forks source link

Show start and goal file and refactor lobby setup #34

Closed tomgroenwoldt closed 3 months ago

tomgroenwoldt commented 3 months ago

Closes #33, closes #30 and closes #1.

This PR introduces the actual files that will be worked on during a game. The backend sends them as bytes to the client and the client writes those bytes as a temporary file to the /tmp folder. For now, this is restricted to linux.

Additionally, I reworked the lobby setup. Before joining a lobby via websocket we fetch and construct the lobby information. Previously, we gathered information like the lobby name while the lobby was already constructed.

tomgroenwoldt commented 3 months ago

Editor instances are killed on lobby disconnect but they are not killed on application termination if one is currently inside a lobby.

tomgroenwoldt commented 3 months ago

Editor instances are killed on lobby disconnect but they are not killed on application termination if one is currently inside a lobby.

Fixed in latest changes :)