Commit Graph

22 Commits

Author SHA1 Message Date
stryan 61fe6b5936 skip draw step on 0 life 2021-09-30 22:08:27 -04:00
stryan 75e2e7f86e log cleanup, maybe not send the entire deck over the wire 2021-09-30 21:40:33 -04:00
stryan 351e5eebc6 if the other player is already readyed up, start the game 2021-09-26 14:05:15 -04:00
stryan f06754fcfe more broadcasts, tui client running 2021-07-29 14:48:36 -04:00
stryan d8777b0dda maybe don't give sentinal scourges deck huh 2021-07-26 14:19:05 -04:00
stryan bff4f57e86 eight disapears a turn sooner 2021-07-26 11:52:43 -04:00
stryan dff9f6ce60 fix effect stacking 2021-07-26 11:44:16 -04:00
stryan 2e512b655b apply effect stacks, then parse stacks 2021-07-26 11:17:45 -04:00
stryan 08a3559c99 argument safety, reset card effect stacks on tick 2021-07-25 22:53:40 -04:00
stryan 8a20d97ad6 first player can draw 2021-07-25 22:16:50 -04:00
stryan 00bd3539b0 don't panic on drawing from empty scry 2021-07-25 22:03:31 -04:00
stryan c5e8f2d404 don't apply effects to empty cards 2021-07-25 17:23:12 -04:00
stryan 26a7c137f8 move to effect based system 2021-07-25 15:33:47 -04:00
stryan a623639af3 probably should test code before commiting tbh 2021-07-25 13:47:36 -04:00
stryan a6f5eb607c Merge branch 'oracle' 2021-07-25 13:43:41 -04:00
stryan 4c37ad270d implement ace, differ between spells (valk) 2021-07-25 13:35:49 -04:00
stryan d1845760fe actually use GetRow since I can, implement 2 and 3, cards have owners and positions 2021-07-25 13:27:12 -04:00
stryan 22a3e0c8e8 being actually adding card effects 2021-07-23 18:57:39 -04:00
stryan 0723811faf create oracle instead of card objects 2021-07-23 18:33:17 -04:00
stryan 2b76ae5b5a client improvements, but bug with sick 2021-07-23 17:42:12 -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 4473127d0a refactor 2021-07-22 15:37:25 -04:00