Commit Graph

17 Commits

Author SHA1 Message Date
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 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 3d9a0b9836 indicate in game state whose turn it is 2024-01-30 21:09:50 -06:00
Branden J Brown e8a181a4f7 include shell counts in game dto 2024-01-29 21:20:17 -06:00
Branden J Brown a3bf457fd6 simplify game state tracking 2024-01-29 13:16:34 -06:00
Branden J Brown 36b251165f typo 2024-01-27 13:34:05 -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 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 98a45e2680 move game id to live among the dtos 2024-01-21 12:28:46 -06:00
Branden J Brown 18e1793b16 add shell count info for start of round 2024-01-21 01:16:30 -06:00
Branden J Brown 9b6b645cfe group and turn numbers are hidden information 2024-01-21 01:09:36 -06:00
Branden J Brown 5fa8de142b add JSON DTOs for game state 2024-01-21 00:56:45 -06:00