Commit Graph

47 Commits

Author SHA1 Message Date
stryan 816e5cf45d formatting 2021-07-29 15:29:49 -04:00
stryan dbc898f7f6 formatting 2021-07-29 15:29:31 -04:00
stryan cf2851f376 update readme, hand display in client2 2021-07-29 15:03:07 -04:00
stryan f06754fcfe more broadcasts, tui client running 2021-07-29 14:48:36 -04:00
stryan 379719a2e2 begin tui client 2021-07-26 17:34:04 -04:00
stryan d8777b0dda maybe don't give sentinal scourges deck huh 2021-07-26 14:19:05 -04:00
stryan 6eb24636e5 add broadcasts 2021-07-26 13:02:00 -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 73f4f8afee actually accept multiple matches 2021-07-25 17:39:48 -04:00
stryan c5e8f2d404 don't apply effects to empty cards 2021-07-25 17:23:12 -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 6f91491127 add flags to client 2021-07-25 15:41:56 -04:00
stryan 7d1a358438 readme touchup 2021-07-25 15:35:57 -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 7c593faa51 update README, makefile 2021-07-23 12:11:06 -04:00
stryan 277189f229 intro server and client 2021-07-22 18:19:21 -04:00
stryan beab95579c local demo works 2021-07-22 15:55:52 -04:00
stryan 15f1ec5dee update mod 2021-07-22 15:39:57 -04:00
stryan 4473127d0a refactor 2021-07-22 15:37:25 -04:00
stryan 89c69d6037 you can win the game now 2021-07-22 13:43:28 -04:00
stryan d05b670e23 debug commands 2021-07-22 13:21:49 -04:00
stryan b09d0b37f1 use cmd and cmd_res, return views 2021-07-22 13:09:56 -04:00
stryan b24a69ac7e have to draw first, start moving past debug 2021-07-22 12:44:25 -04:00
stryan 88d2211c36 formatting 2021-07-16 15:53:50 -04:00
stryan c92f8ddc23 first player can't draw 2021-07-16 15:53:02 -04:00
stryan 23a991d401 add readme 2021-07-16 15:52:18 -04:00
stryan 7a00469634 command loop active, fix some obvious bugs 2021-07-16 15:35:29 -04:00
stryan c111e09ab5 just use full debug info for now 2021-07-16 14:53:45 -04:00
stryan 8062c99ee6 add makefile, shuffle properly, more card fixes 2021-07-16 14:08:19 -04:00
stryan b37cc0e73c card change cleanup 2021-07-15 21:44:45 -04:00
stryan 279af42056 use card objects 2021-07-15 20:58:21 -04:00
stryan a51bfc6ae8 initial work, action moves set 2021-07-15 19:26:57 -04:00