Commit Graph

32 Commits

Author SHA1 Message Date
deb6d24282 only create games when match is joined, remove old players from queue 2021-09-29 14:51:58 -04:00
f5eac37b06 clean out stale matches 2021-09-27 16:51:40 -04:00
351e5eebc6 if the other player is already readyed up, start the game 2021-09-26 14:05:15 -04:00
ae073733c7 logging tweak 2021-09-23 13:15:22 -04:00
80578e089d don't stick on broadcasts 2021-09-23 13:13:31 -04:00
76e20ea130 matchmaking cleanup 2021-09-23 13:04:34 -04:00
884766dc72 opt into polling, clients no longer crash on leave 2021-07-29 17:40:11 -04:00
f06754fcfe more broadcasts, tui client running 2021-07-29 14:48:36 -04:00
d8777b0dda maybe don't give sentinal scourges deck huh 2021-07-26 14:19:05 -04:00
6eb24636e5 add broadcasts 2021-07-26 13:02:00 -04:00
bff4f57e86 eight disapears a turn sooner 2021-07-26 11:52:43 -04:00
dff9f6ce60 fix effect stacking 2021-07-26 11:44:16 -04:00
2e512b655b apply effect stacks, then parse stacks 2021-07-26 11:17:45 -04:00
08a3559c99 argument safety, reset card effect stacks on tick 2021-07-25 22:53:40 -04:00
8a20d97ad6 first player can draw 2021-07-25 22:16:50 -04:00
00bd3539b0 don't panic on drawing from empty scry 2021-07-25 22:03:31 -04:00
73f4f8afee actually accept multiple matches 2021-07-25 17:39:48 -04:00
c5e8f2d404 don't apply effects to empty cards 2021-07-25 17:23:12 -04:00
37d0702d5c allow server to handle multiple matches 2021-07-25 17:22:57 -04:00
907cf269cd move websocket server out of internal 2021-07-25 16:32:41 -04:00
58a853a241 make server a bit more resiliant 2021-07-25 16:23:39 -04:00
26a7c137f8 move to effect based system 2021-07-25 15:33:47 -04:00
a623639af3 probably should test code before commiting tbh 2021-07-25 13:47:36 -04:00
a6f5eb607c Merge branch 'oracle' 2021-07-25 13:43:41 -04:00
4c37ad270d implement ace, differ between spells (valk) 2021-07-25 13:35:49 -04:00
d1845760fe actually use GetRow since I can, implement 2 and 3, cards have owners and positions 2021-07-25 13:27:12 -04:00
22a3e0c8e8 being actually adding card effects 2021-07-23 18:57:39 -04:00
0723811faf create oracle instead of card objects 2021-07-23 18:33:17 -04:00
2b76ae5b5a client improvements, but bug with sick 2021-07-23 17:42:12 -04:00
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
277189f229 intro server and client 2021-07-22 18:19:21 -04:00
4473127d0a refactor 2021-07-22 15:37:25 -04:00