Pravda

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

About branch spoof

Working on the Spoof game.

This game is more complicated because it does not have a set number of players.

In order to determine when play starts, I want to have the following flow:

Player joins. If there are enough players (at least 2 or 3, haven't decided yet) and enough time has passed (thinking of a minute), play begins. If another player joins in the meantime the timer is reset.

This requires games to be able to set their own timers and be polled by the main event loop when they are done.

I also want to be able to warn a player if they spend too long without playing when it's their turn. This requires roughly the same thing.

In order to achieve this, I am changing the Game and Command datastructures.

53 check-ins related to "spoof"
2025-09-30
05:05
Improve twothirds command routing check-in: f59ed8ae2e user: david tags: v2
2025-09-29
15:55
Adding catalog file check-in: 26a358faf5 user: david tags: spoof
11:48
Streamline catalog and add soviet integration tests check-in: c9fae67e81 user: david tags: spoof
11:26
Document contributor workflow check-in: 916a3abf94 user: david tags: spoof
11:21
Fix persistence serialization and restore tests check-in: 002c2f6d97 user: david tags: spoof
2025-09-25
11:48
Allow concurrent Soviet games check-in: fc2c2f6d25 user: david tags: spoof
11:39
Test concurrent matches for remaining games check-in: 85b9df22a9 user: david tags: spoof
11:36
Allow concurrent RPS matches check-in: 9f59bef123 user: david tags: spoof
11:27
Add in-game help prompts check-in: c17fd3f4ec user: david tags: spoof
11:20
Clarify lobby instructions and CLI help check-in: b4948e4155 user: david tags: spoof
11:13
Changes to the soviet game. check-in: 1ba937faac user: david tags: spoof
11:04
Show available games on CLI help command check-in: 39b492df79 user: david tags: spoof
11:04
Delay spoof match start until lobby fills or times out check-in: d7efe56ccb user: david tags: spoof
10:34
Add websocket streaming transport check-in: c3db55fab4 user: david tags: spoof
10:21
Style: normalize iterator formatting check-in: 94c1f1bc41 user: david tags: spoof
10:21
Update README with current games and operational notes check-in: 6c8daab84e user: david tags: spoof
10:16
Add cancellable night reminder for saboteurs check-in: c9ae522287 user: david tags: spoof
10:09
Harden bot runtime and add game manager check-in: 2972c43eff user: david tags: spoof
10:02
Add Soviet mafia social deduction game check-in: 8c0cffe996 user: david tags: spoof
09:42
Add unique bid and two-thirds games check-in: fc9f3489b0 user: david tags: spoof
09:35
Add reminder scheduling and CLI harness check-in: c60781d911 user: david tags: spoof
09:15
Fix backoff typing and modernize spoof check-in: f322feff43 user: david tags: spoof
2025-03-28
15:38
Not sure what I'm committing. check-in: d41794db3f user: david tags: spoof
2024-03-27
08:03
Fixed some warnings and comments. Leaf check-in: 51d2b8d26e user: david tags: trunk
2024-03-26
09:06
Adapting the structure to deal with more complex games and merging Spoof, but not ready yet. check-in: 223ad50bdb user: david tags: trunk
08:17
Merged improvements made on Rps and Dice into the Spoof branch and got things in order. check-in: d7057bb24d user: david tags: spoof
2023-11-06
08:09
Restructured event loop to use a single channel that receives fedi API notifications game-generated events. Got the tests that were passing, passing again. check-in: 846461bf2e user: david tags: spoof
2023-11-02
13:41
Streamlined rps removing needless fields. check-in: e5cb56ba12 user: david tags: spoof
13:09
Each game has a name so it can filter its own commands. Got some tests passing for spoof. check-in: 1615aff16d user: david tags: spoof
12:13
Join logic more or less done. check-in: f62d9e0de9 user: david tags: spoof
11:46
Some matching logic. check-in: 468923570e user: david tags: spoof
07:28
Rationalised imports. check-in: f603be55a8 user: david tags: spoof
2023-10-31
12:57
New release adding dice rolling. check-in: 1f0e07400c user: david tags: trunk
2023-10-27
11:51
Working on player functions for spoof. Fixed some things on Rps. check-in: f1a3a5762b user: david tags: spoof
07:13
Fixes to comments check-in: d8d3411bf6 user: david tags: spoof
2023-10-26
12:51
Some fix on main to suppress a type system warning. Split next into two according to whether it's a player or internal command. Starting on the player logic. check-in: 4ffe589384 user: david tags: spoof
2023-10-25
12:59
README fix. check-in: 6e6eef6346 user: david tags: spoof
12:38
Rationalised imports. Yes, this is not very useful. check-in: cbb09c7854 user: david tags: spoof
07:12
Merged changes. All working. check-in: 0676f7ea12 user: david tags: spoof
2023-10-23
23:17
I think the timeout on the reqwest client is not doing what I want. check-in: e4533883a2 user: david tags: trunk
2023-10-22
18:38
Merged with trunk, I want to keep the changes in sync. check-in: 7acdc3d486 user: david tags: spoof
17:18
Fixed reqwest feature to use rustls. check-in: 76eb631c08 user: david tags: trunk
16:17
Changed the streaming to notifications, which is the only thing the bot needs. check-in: f3803dc524 user: david tags: spoof
15:21
Added a timeout to the Reqwest client. check-in: 98295d54c9 user: david tags: spoof
15:17
Further work on spoof with some changes. check-in: e99c8a706b user: david tags: spoof
2023-10-21
21:39
Debugging. check-in: 0a0b5b24d6 user: david tags: trunk
2023-10-20
22:13
Merged improvements from trunk to the work on the branch. check-in: 017fdca748 user: david tags: spoof
21:38
Put the publish = false back in manifest to avoid accidental publishing. check-in: 56471fd7df user: david tags: trunk, v1
2023-10-19
20:24
All tests pass with the new data structures in place. check-in: 732aee3946 user: david tags: spoof
12:49
Working on adapting the game datastructures. check-in: 8f9b16579a user: david tags: spoof
11:18
Fixed so tests pass. check-in: 366cedc13b user: david tags: spoof
11:10
Working on Spoof: 1. Added a channel so games can set timers to ask to be polled or send replies without prompting. 2. Added GameEvent to communicate through it. check-in: 5d45b7a30e user: david tags: spoof
06:33
Comment fix. check-in: 17f5148669 user: david tags: trunk