Commit Graph

18 Commits

Author SHA1 Message Date
stryan 89a94ca081 add ready checking at session level 2021-09-30 21:00:49 -04:00
stryan d183f2d1a3 SessionLeave can leave player queue 2021-09-29 16:40:17 -04:00
stryan 2073b4d1f0 don't allow commands to be played in nil games 2021-09-29 15:44:01 -04:00
stryan a4227c9728 only matchmake when a new player enters the queue 2021-09-29 15:26:18 -04:00
stryan deb6d24282 only create games when match is joined, remove old players from queue 2021-09-29 14:51:58 -04:00
stryan f5eac37b06 clean out stale matches 2021-09-27 16:51:40 -04:00
stryan ae073733c7 logging tweak 2021-09-23 13:15:22 -04:00
stryan 80578e089d don't stick on broadcasts 2021-09-23 13:13:31 -04:00
stryan 76e20ea130 matchmaking cleanup 2021-09-23 13:04:34 -04:00
stryan 884766dc72 opt into polling, clients no longer crash on leave 2021-07-29 17:40:11 -04:00
stryan f06754fcfe more broadcasts, tui client running 2021-07-29 14:48:36 -04:00
stryan 6eb24636e5 add broadcasts 2021-07-26 13:02:00 -04:00
stryan 73f4f8afee actually accept multiple matches 2021-07-25 17:39:48 -04:00
stryan 37d0702d5c allow server to handle multiple matches 2021-07-25 17:22:57 -04:00
stryan 907cf269cd move websocket server out of internal 2021-07-25 16:32:41 -04:00
stryan 58a853a241 make server a bit more resiliant 2021-07-25 16:23:39 -04:00
stryan eb7b405641 cards are now passed as PortableCard objects
client supports all actions
A bunch of stuff uses *Decks now instead of []Card since json marshaling
all of this code is absolutely awful
2021-07-23 16:43:39 -04:00
stryan 277189f229 intro server and client 2021-07-22 18:19:21 -04:00