issues
search
ditkin
/
magicui
User-enforced generic card game UI
0
stars
0
forks
source link
Overhaul socket messages; add modal HOC; build waiting room
#21
Closed
ditkin
closed
5 years ago
ditkin
commented
5 years ago
This PR got way too big.
[x] Add CreateRoom to WaitingRoom grid
[x] Make CreateRoom be a modal that allows room creation with basic data
[x] Make a WithModal HOC that passes down functions to open / close modal
[x] Fix joinRoom action payload to match what BE expects
[x] Create "joined room" state
[x] Either stop initializing room with creating player's id, or auto-join them to the room
[x] Start game when 2 players in the same room
[x] Fix board updates
[x] Fix bug where ids are made the same, on the FE or BE
[x] Fix destinations and stack zone
[x] Clean up code (room, socket index)
This PR got way too big.