Commit graph

232 commits

Author SHA1 Message Date
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
c4aa14d514 Award extra points for backgammons and gammons 2023-10-20 14:53:37 -07:00
70d2ccb39b Fix doubling cube posession 2023-10-20 14:24:18 -07:00
8da2829b6a Add doubling cube 2023-10-20 13:51:32 -07:00
f96a4fdb1a Allow specifying match points 2023-10-18 19:59:48 -07:00
0bfb03f767 Fix legal move calculation 2023-09-30 15:22:04 -07:00
db3870b9fe Fix joining match 2023-09-30 13:50:31 -07:00
cc53c885e7 Do not log pings, pongs or game listings 2023-09-30 11:39:30 -07:00
bb716d69b9 Replace spaces with underscores in password fields 2023-09-30 10:43:49 -07:00
e179df3fbc Rejoin match in progress when reconnecting 2023-09-20 08:10:14 -07:00
1e7c6a1d02 Require clients to leave current match before creating a new one 2023-09-19 00:55:47 -07:00
c4a1a3f99d Fix FailedLeave event 2023-09-19 00:32:01 -07:00
7b233c9c4a Update README 2023-09-18 23:56:34 -07:00
1b65aae287 Fix joining private matches 2023-09-18 20:57:05 -07:00
d351bb7b88 Send all segments when expanding a move 2023-09-18 19:51:29 -07:00
92a8adec01 Fix checking whether players must enter from the bar 2023-09-18 18:15:20 -07:00
e6b46bf42c Fix calculation in MayOK 2023-09-18 18:00:37 -07:00
3db3cacce3 Add GameState.MayReset 2023-09-18 11:16:20 -07:00
c052428566 Do not log passwords 2023-09-15 23:24:05 -07:00
bfad023bca Always sent board event after a client joins a game 2023-09-15 22:57:16 -07:00
cf99329267 Update README 2023-09-13 00:46:53 -07:00
5ecbc5d583 Support WebSocket connections 2023-09-11 22:10:04 -07:00
74f3446111 Prefer term 'match' over 'game' 2023-09-11 20:56:26 -07:00
f63bd90964 Update EventLeft 2023-09-11 19:59:31 -07:00
522bec484d Expand moves to enable making multiple moves quickly 2023-09-10 16:10:55 -07:00