Commit Graph

95 Commits

Author SHA1 Message Date
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
Branden J Brown bc1685d5ee start games with player ids
Fixes #1.
2024-01-21 04:15:03 -06:00
Branden J Brown 4f6e00bd3d add games lobby 2024-01-21 01:35:53 -06:00
Branden J Brown 5a5f709dd6 rename game.NewGame -> game.New 2024-01-21 01:31:24 -06:00
Branden J Brown 05acb1053f skip turn if cuffed 2024-01-21 01:22:44 -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
Branden J Brown 5466785bbc test item strings 2024-01-21 00:50:54 -06:00
Branden J Brown 22ec96787f add item strings 2024-01-21 00:48:13 -06:00
Branden J Brown 4b044a3523 add method to peek the current shell 2024-01-21 00:33:39 -06:00
Branden J Brown 449d90bc98 start the first round when creating a game 2024-01-21 00:28:57 -06:00
Branden J Brown 178a86c597 track previous shell 2024-01-21 00:28:29 -06:00
Branden J Brown 402e3768e5 hp is set at start of round, not start of group 2024-01-21 00:25:51 -06:00
Branden J Brown 4d2f5a43dc consolidate turn advance 2024-01-21 00:14:32 -06:00
Branden J Brown 93aa4b49d0 require proof of turn to use items or shoot 2024-01-21 00:02:22 -06:00
Branden J Brown 18ba9fd568 move player id to a separate package
Later, this package could hold stuff like MMR. It's just a type for now.
2024-01-20 23:56:03 -06:00
Branden J Brown a0608dac03 implement round end 2024-01-20 23:52:58 -06:00
Branden J Brown 56f8387385 don't care about player index, we have ids 2024-01-20 23:39:59 -06:00
Branden J Brown b7c7fd260f fix initialization 2024-01-20 23:03:34 -06:00
Branden J Brown 8691cda9eb implemented item use 2024-01-20 23:02:15 -06:00
Branden J Brown e173225b6e second commit, too busy flowing to isolate work 2024-01-20 22:52:44 -06:00
Branden J Brown f0dc3716e8 initial commit, game init implemented 2024-01-20 22:06:56 -06:00