Commit graph

106 commits

Author SHA1 Message Date
50943c96c4 Allow local servers to relay chat messages 2023-11-30 18:14:29 -08:00
817f86dcf9 Alow embedding server 2023-11-30 13:31:26 -08:00
3286105c9c Fix 'ok' command 2023-11-30 09:03:08 -08:00
a06abe550f Fix transitioning spectators during rematch 2023-11-28 14:52:07 -08:00
2d1454dc63 Award one point for each remaining opponent checker in acey-deucey games 2023-11-27 20:08:26 -08:00
4ec3c542b5 Require exact roll to bear off in acey-deucey games 2023-11-27 20:01:38 -08:00
b081b604e1 Re-roll when starting an acey-deucey game 2023-11-27 19:39:14 -08:00
a87e493425 Add MayChooseRoll 2023-11-27 17:48:43 -08:00
ffeb985cab Record points and win type 2023-11-27 16:40:40 -08:00
3c37ea5927 Fix double command 2023-11-27 15:12:28 -08:00
5bacfe6b28 Support acey-deucey
Resolves #4.
2023-11-24 19:55:05 -08:00
f63f21b5ad Add bot stats page 2023-11-24 13:05:50 -08:00
caf4b3e2d8 Allow printing match statistics 2023-11-22 10:12:06 -08:00
8cba945823 Allow specifying data source via environment variable 2023-11-21 16:23:35 -08:00
b4bbf10287 Record game results to database 2023-11-21 16:16:33 -08:00
34de22fae1 Fix handling 'ok' command 2023-11-20 12:42:11 -08:00
44b1eb1fd3 Fix calculating whether players may bear off 2023-11-19 17:55:37 -08:00
5ccc3464fb Inform clients when unknown commands are received 2023-11-19 17:36:46 -08:00
667d0e9ba0 Send join and leave events to spectators 2023-11-17 16:41:31 -08:00
e8fb2fd4d2 Fix sending roll events 2023-11-17 11:37:04 -08:00
9b8b1767eb Fix rematch command for spectators 2023-11-17 11:22:20 -08:00
28ba643bf9 Support spectating matches
Resolves #3.
2023-11-16 17:12:17 -08:00
d0f8b45b0f Add match listing API 2023-11-16 09:25:26 -08:00
2493c76bdf Fix rematch command 2023-11-15 14:51:55 -08:00
c3db42daee Send game state to both players from the perspective of player 1 (black) 2023-11-15 14:41:56 -08:00
ce3a930372 Update PROTOCOL 2023-11-14 17:51:36 -08:00
a1b1b0d30f Fix creating rematch for more than one point 2023-11-14 15:12:40 -08:00
ea34f7b9b3 Fix panic when terminating client 2023-11-14 08:41:14 -08:00
019317f4f2 Fix race condition when terminating client 2023-11-14 00:14:30 -08:00
97fe9ebf0d Update community advertisement 2023-11-13 19:29:49 -08:00
328e37f900 Add method for calculating player pip count 2023-11-13 18:51:29 -08:00
4acaf3128e Show matches that have started as full in match listing 2023-11-13 11:26:06 -08:00
9b2226d9a8 Mention community in new match notice 2023-11-12 19:42:22 -08:00
5a1716ba27 Add new match notice 2023-11-12 11:11:35 -08:00
e200fbb195 Only allow doubling in multi-point matches 2023-11-10 22:33:48 -08:00
2bc5ed236b Fix calculating backgammon win 2023-11-10 17:15:49 -08:00
7e7aed5776 Use crypto/rand to generate random numbers 2023-11-03 12:48:29 -07:00
8646e4cc39 Update README 2023-11-03 10:51:25 -07:00
522663becc Add match start and end times to board state 2023-11-02 14:48:36 -07:00
171948e21c Skip previously found moves when calculating legal moves 2023-11-01 23:15:36 -07:00
41fa0a24b0 Fix using dice roll when bearing off 2023-11-01 22:47:59 -07:00
b89776c323 Fix calculating whether player may bear off 2023-10-30 21:12:58 -07:00
991fd6d481 Update README 2023-10-27 12:13:41 -07:00
7d2fc6e156 Update README 2023-10-26 20:24:09 -07:00
764def5eea Only send hello message to non-JSON clients 2023-10-26 15:20:52 -07:00
e62a9053a3 Clear write queue on client disconnect 2023-10-26 13:09:14 -07:00
e01ccd8e3c Set initial client connection read/write timeout 2023-10-26 12:53:24 -07:00
bd2cb2c880 Reduce ping timeout 2023-10-24 21:40:36 -07:00
07e9c3dc1e Require client name to be specified when logging in 2023-10-23 00:15:13 -07:00
27b011cf5b Update README 2023-10-22 22:29:28 -07:00