#21 Implementing the game 3
- Aaron
- Dec 15, 2020
- 1 min read
Updated: Dec 16, 2020
14 Dec
Test deploy (again)
- Some testing (5 pers.)
Game crashed (CORS error) Did we start too soon (not everyone was in when the play game button was clicked), someone refreshed, someone joined after...
Trouble with circular references
when a game was started & cards were played… (any other socket connects/disconnects could crash the entire server)
Changed connectedRoom = Entire object reference to just one property (name)
what are the rules?
Make it clear on whose turn it is
automatically skip turns (after timer or if they are out of cards)
display playable cards and the right amount required (you need to play one more card…, make sure the values are equal (or fill with 2’s)
15 Dec
Updated Design
Styling
display game loading state
redirect to home when joining a not-joinable room
Temporarily disable auto skip turns (it was buggy)
display player turns
Try to display card amount
Limit max & min players on room
Deploy
Create a short demo video
Hand-in assignment
Comments