Commit Graph

23 Commits

Author SHA1 Message Date
zephyr b70abac827 unexport things that don't need to be exported
Most of all, this lets staticcheck point out things that are unused.
Also delete an unused thing found as a result of this.
2024-02-04 10:37:20 -06:00
zephyr 566de4066b skeleton move timer
For #11.
2024-02-03 21:11:09 -06:00
zephyr 9a02235eba only report match winners 2024-02-03 12:55:02 -06:00
zephyr 1068060e94 transmit game actions and winner in dto 2024-02-03 11:44:11 -06:00
zephyr 2314b61671 add logout button 2024-02-02 17:37:53 -06:00
zephyr ca4823e80b get player id with middleware, not session 2024-02-02 13:03:05 -06:00
zephyr a044844d8b fix player/session id distinction and add /user/me api endpoint 2024-02-01 21:39:16 -06:00
zephyr 6aa6996f66 add login handler 2024-02-01 20:40:59 -06:00
zephyr 570fc6a298 get player ids from sessions, not ips 2024-02-01 08:26:27 -06:00
zephyr 73b5ac7960 use distinct types for player and session ids 2024-01-31 22:40:12 -06:00
zephyr 3d9a0b9836 indicate in game state whose turn it is 2024-01-30 21:09:50 -06:00
zephyr e8a181a4f7 include shell counts in game dto 2024-01-29 21:20:17 -06:00
zephyr a3bf457fd6 simplify game state tracking 2024-01-29 13:16:34 -06:00
zephyr 36b251165f typo 2024-01-27 13:34:05 -06:00
zephyr 6406997282 add stuff for translating x-forwarded-for to player id lol
Fixes #5.
2024-01-21 23:09:27 -06:00
zephyr 8c35ea1bcd apparently http.Error requires a plaintext response 2024-01-21 20:32:39 -06:00
zephyr 44a34fcba7 implement consent cookie thing
Fixes #3.
2024-01-21 20:27:48 -06:00
zephyr 7707d0bb5b lil commenty adjusty boi 2024-01-21 13:02:43 -06:00
zephyr 85824ef22f send all player's items to clients 2024-01-21 12:56:12 -06:00
zephyr 98a45e2680 move game id to live among the dtos 2024-01-21 12:28:46 -06:00
zephyr 18e1793b16 add shell count info for start of round 2024-01-21 01:16:30 -06:00
zephyr 9b6b645cfe group and turn numbers are hidden information 2024-01-21 01:09:36 -06:00
zephyr 5fa8de142b add JSON DTOs for game state 2024-01-21 00:56:45 -06:00