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

Use a context stack #20

Open
gbaudic opened this issue Nov 20, 2019 · 0 comments
Open

Use a context stack #20

gbaudic opened this issue Nov 20, 2019 · 0 comments
Assignees
Labels
bug Something isn't working
Projects
Milestone

Comments

@gbaudic
Copy link
Owner

gbaudic commented Nov 20, 2019

It would be useful to keep the previous contexts, so we can get back to them without necessarily losing the state. To do this, instead of the current state of a single pointer, using a stack would be beneficial. The only edge case here is when you want to leave a room while playing, which should move you back to the room list instead of the lobby.

@gbaudic gbaudic added the bug Something isn't working label Nov 20, 2019
@gbaudic gbaudic added this to the 0.1 milestone Nov 20, 2019
@gbaudic gbaudic self-assigned this Nov 20, 2019
@gbaudic gbaudic added this to To do in V0.1 Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
V0.1
  
To do
Development

No branches or pull requests

1 participant