gbaudic/linbound2

Use a context stack

gbaudic opened this issue · 0 comments

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.