Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[client] Implement basic connection to the game server #4

Closed
lunacys opened this issue Apr 23, 2024 · 1 comment · Fixed by #22
Closed

[client] Implement basic connection to the game server #4

lunacys opened this issue Apr 23, 2024 · 1 comment · Fixed by #22
Assignees
Labels
client Client-related tasks feature A new feature

Comments

@lunacys
Copy link
Collaborator

lunacys commented Apr 23, 2024

At startup:

  • Check connection to the sever
    • If success:
      • Connect via WebSockets
      • Get available lobbies
      • Don't forget about the ping-pongs, although tungstenite (the package used for connections) may already handle it properly
    • If not:
      • Run in offline mode, skipping all the negotiation
@lunacys lunacys added client Client-related tasks feature A new feature labels Apr 23, 2024
@krendelhoff2 krendelhoff2 self-assigned this Apr 24, 2024
@lunacys
Copy link
Collaborator Author

lunacys commented May 16, 2024

Related to #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Client-related tasks feature A new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants