Commit Graph

98 Commits

Author SHA1 Message Date
Branden J Brown af9b287252 force game to clear on ws loss 2024-02-02 19:57:28 -06:00
Branden J Brown da516b75f4 ping more often 2024-02-02 19:54:22 -06:00
Branden J Brown 0be7629d9e did it explode because i got rid of the applicator 2024-02-02 19:47:26 -06:00
Branden J Brown e8cdeda66a use a game as the game 2024-02-02 19:42:43 -06:00
Branden J Brown c5c4559e08 really don't explode when watching an undefined game 2024-02-02 19:39:50 -06:00
Branden J Brown 0221c7d15d don't explode when we watch a null game 2024-02-02 19:34:38 -06:00
Branden J Brown 8bd7532160 send game state at start of match 2024-02-02 19:13:30 -06:00
Branden J Brown ac214c0517 use dealer state 2024-02-02 19:12:56 -06:00
Branden J Brown 9e66855dc6 ping on the wobseckot 2024-02-02 19:01:19 -06:00
Branden J Brown b2618e1ba8 go home when game is gone 2024-02-02 18:54:10 -06:00
Branden J Brown 167b6460f4 log received datas 2024-02-02 18:49:43 -06:00
Branden J Brown 653fd061d0 don't tie game context to queue context 2024-02-02 18:43:10 -06:00
Branden J Brown 66c37a655a don't log at debug 2024-02-02 18:40:57 -06:00
Branden J Brown 2088a33b87 configurable sqlite dsn 2024-02-02 18:29:07 -06:00
Branden J Brown f7f3e67417 websocket messages are json 2024-02-02 18:25:33 -06:00
Branden J Brown 8e87ece54f do the wob seckot 2024-02-02 18:19:25 -06:00
Branden J Brown 8343dc60c7 initialize server players map 2024-02-02 17:37:53 -06:00
Branden J Brown 2314b61671 add logout button 2024-02-02 17:37:53 -06:00
Branden J Brown 8a07105316 login on register 2024-02-02 13:14:00 -06:00
Branden J Brown ca4823e80b get player id with middleware, not session 2024-02-02 13:03:05 -06:00
Branden J Brown 438c70b41b actually serve public 2024-02-02 12:57:18 -06:00
Branden J Brown 8eabde60fd serve public 2024-02-02 12:51:28 -06:00
Branden J Brown 410d0fc587 add register and login to frontend 2024-02-02 08:28:36 -06:00
Branden J Brown a044844d8b fix player/session id distinction and add /user/me api endpoint 2024-02-01 21:39:16 -06:00
Branden J Brown 61db7de4cb update landing page wording 2024-02-01 21:19:57 -06:00
Branden J Brown bf2d629708 add register endpoint 2024-02-01 21:02:30 -06:00
Branden J Brown 6aa6996f66 add login handler 2024-02-01 20:40:59 -06:00
Branden J Brown 570fc6a298 get player ids from sessions, not ips 2024-02-01 08:26:27 -06:00
Branden J Brown 73b5ac7960 use distinct types for player and session ids 2024-01-31 22:40:12 -06:00
Branden J Brown d61c70da86 add session stuff 2024-01-31 22:29:31 -06:00
Branden J Brown 6e63aba2b4 add user credentials stuff 2024-01-31 20:52:45 -06:00
Branden J Brown f1f58a3893 drop observers who have left 2024-01-31 07:51:14 -06:00
Branden J Brown 245109883a use game errors in game actor 2024-01-31 07:37:16 -06:00
Branden J Brown 09521cb5b0 wire actions 2024-01-31 07:05:33 -06:00
Branden J Brown 7a612a6465 add loading indicator on queue start 2024-01-31 06:42:35 -06:00
Branden J Brown 3f0b57f87d display a message indicating game state changes 2024-01-30 22:40:20 -06:00
Branden J Brown cceaa5635f disable item buttons you can't use 2024-01-30 21:50:41 -06:00
Branden J Brown 72304fab0b add game controls 2024-01-30 21:31:16 -06:00
Branden J Brown 53f18599a3 define props on game component 2024-01-30 21:14:11 -06:00
Branden J Brown 3d9a0b9836 indicate in game state whose turn it is 2024-01-30 21:09:50 -06:00
Branden J Brown b837facd4a emphasize usable items 2024-01-30 21:03:59 -06:00
Branden J Brown a170a5884a add item display 2024-01-30 20:56:23 -06:00
Branden J Brown f3971a4b28 start work on game view 2024-01-29 22:12:07 -06:00
Branden J Brown 23703dbe3e use game start dto that i already defined 2024-01-29 21:23:55 -06:00
Branden J Brown e8a181a4f7 include shell counts in game dto 2024-01-29 21:20:17 -06:00
Branden J Brown f858384ca0 add event to queue button 2024-01-29 21:04:49 -06:00
Branden J Brown 583a367792 add theme toggle 2024-01-29 21:04:49 -06:00
Branden J Brown f3fbec98d7 clamp hp to zero 2024-01-29 13:18:26 -06:00
Branden J Brown a3bf457fd6 simplify game state tracking 2024-01-29 13:16:34 -06:00
Branden J Brown 1099e0b618 apply game actions from connections 2024-01-29 13:12:25 -06:00