Commit Graph

72 Commits

Author SHA1 Message Date
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
Branden J Brown 6077316a0d indicate round and game end with errors
Fixes #8.
2024-01-29 11:41:29 -06:00
Branden J Brown f7be9beabc distinguish round and match winners 2024-01-28 21:47:14 -06:00
Branden J Brown 711724bc4d improve terminology in game controller 2024-01-28 12:42:42 -06:00
Branden J Brown 492c4199bb landing page 2024-01-28 10:42:05 -06:00
Branden J Brown 14b581c748 initialize frontend with template 2024-01-27 21:36:41 -06:00
Branden J Brown 57fb632446 basic main for testing 2024-01-27 14:02:10 -06:00
Branden J Brown 58e6e866b8 logging
Fixes #6.
2024-01-27 13:51:20 -06:00
Branden J Brown 36b251165f typo 2024-01-27 13:34:05 -06:00
Branden J Brown ffc39c9f8a maybe joining handler exists now 2024-01-27 13:24:42 -06:00
Branden J Brown f2ba9849f1 simplify matchmaking 2024-01-27 11:24:33 -06:00
Branden J Brown cc2b54eac3 add game actor 2024-01-26 11:28:14 -06:00
Branden J Brown e8786073aa implement conceding 2024-01-23 20:45:00 -06:00
Branden J Brown 2b9e617c10 start labor on server part of server 2024-01-22 20:16:10 -06:00
Branden J Brown 6406997282 add stuff for translating x-forwarded-for to player id lol
Fixes #5.
2024-01-21 23:09:27 -06:00
Branden J Brown 8c35ea1bcd apparently http.Error requires a plaintext response 2024-01-21 20:32:39 -06:00
Branden J Brown 44a34fcba7 implement consent cookie thing
Fixes #3.
2024-01-21 20:27:48 -06:00
Branden J Brown e95d526266 implement matchmaking lobby
Fixes #2.
2024-01-21 19:53:08 -06:00
Branden J Brown 935fe8e2e4 use cigs even when they have no effect 2024-01-21 18:41:43 -06:00
Branden J Brown 5e595711d4 take game id to start a new game instead of generating 2024-01-21 13:55:59 -06:00
Branden J Brown 7707d0bb5b lil commenty adjusty boi 2024-01-21 13:02:43 -06:00
Branden J Brown 85824ef22f send all player's items to clients 2024-01-21 12:56:12 -06:00
Branden J Brown 8aff29e0b8 add game start to lobby 2024-01-21 12:48:29 -06:00
Branden J Brown 98a45e2680 move game id to live among the dtos 2024-01-21 12:28:46 -06:00
Branden J Brown 24af4b7602 test most game invariants 2024-01-21 11:21:50 -06:00
Branden J Brown 1d1c5d11f5 fix wrong package name 2024-01-21 04:35:21 -06:00
Branden J Brown 46563f9115 unexport game state fields 2024-01-21 04:18:55 -06:00