Continue implementing rooms
Changing lots of things along the way... But that's how it is: Make one change, make more changes to fix the resulting errors and so on.
This commit is contained in:
parent
31ffa5cd67
commit
992e84e67e
12 changed files with 791 additions and 141 deletions
31
room.md
Normal file
31
room.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
- Determine room name
|
||||
- Connect for the first time
|
||||
- If connection fails: Show error, done
|
||||
- Set room
|
||||
- If room is invalid: Show error, done
|
||||
- If no nick is set by default: Let user choose nick
|
||||
- Identify yourself
|
||||
- If nick is invalid: Show error, let user edit nick
|
||||
- If identity is invalid: Show error, done
|
||||
- Listen to events, send commands
|
||||
- Reconnect
|
||||
- If connection fails: Show error, done
|
||||
- Set room
|
||||
- If room is invalid: Show error, done
|
||||
- Identify yourself
|
||||
- If nick is invalid: Show error, let user edit nick
|
||||
- If identity is invalid: Show error, done
|
||||
- Listen to events, send commands
|
||||
|
||||
General state:
|
||||
- Initial nick (optional)
|
||||
- A way to stop the entire room
|
||||
|
||||
State present when WS connection exists:
|
||||
- Connection itself
|
||||
- Next command id
|
||||
- Replies
|
||||
|
||||
State present when fully connected:
|
||||
- Own session
|
||||
- Others
|
||||
Loading…
Add table
Add a link
Reference in a new issue