Commit graph

44 commits

Author SHA1 Message Date
fa229d8ae6 Fix legal moves calculation when bearing off after making a move 2024-07-02 22:54:26 -07:00
f5676a3043 Reset winner when multi-point game is completed 2024-01-26 11:00:40 -08:00
3607efee41 Allow forfeiting match after more than ten minutes of inactivity
Resolves #15.
2024-01-17 13:40:45 -08:00
5410496772 Require checkers to enter from bar before moving other checkers 2024-01-11 18:47:04 -08:00
3eb433e573 Optimize calculating legal moves 2024-01-10 23:13:46 -08:00
b77a42abd7 Play forced moves automatically
Resolves #5.
2024-01-10 21:42:43 -08:00
ce0122a594 Support playing tabula games 2024-01-08 03:51:22 -08:00
0892030f73 Rename parameter acey as variant, allowing additional variants to be supported 2024-01-07 12:37:01 -08:00
469865395f Refactor server package 2024-01-05 18:41:13 -08:00
f049353bd3 Store board state as []int8 2024-01-05 18:18:54 -08:00
d80569de31 Fix panic while calculating legal moves 2023-12-09 12:23:20 -08:00
4ec3c542b5 Require exact roll to bear off in acey-deucey games 2023-11-27 20:01:38 -08:00
5bacfe6b28 Support acey-deucey
Resolves #4.
2023-11-24 19:55:05 -08:00
44b1eb1fd3 Fix calculating whether players may bear off 2023-11-19 17:55:37 -08:00
2bc5ed236b Fix calculating backgammon win 2023-11-10 17:15:49 -08: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
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
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
522bec484d Expand moves to enable making multiple moves quickly 2023-09-10 16:10:55 -07:00
d735899304 Require players to make the maximum possible moves 2023-09-10 15:01:09 -07:00
edeb5806d9 Add client label method 2023-09-09 00:01:01 -07:00
daa8bce760 Check for win condition 2023-09-07 23:35:27 -07:00
042a9599b8 Support hitting checkers and entering from the bar 2023-09-07 22:16:38 -07:00
68f0cdcd7c Support bearing off 2023-09-07 00:21:58 -07:00
71a50ce22b Validate moves 2023-09-04 22:52:28 -07:00
45b2d00e09 Suport undoing moves 2023-09-02 23:40:31 -07:00
0df16bc71a Support moving checkers 2023-09-02 14:48:49 -07:00
7a7141d189 Add remaining JSON events 2023-08-27 14:10:18 -07:00
ce59fe7598 Add ten minute read/write timeouts 2023-08-26 23:44:41 -07:00
2f09683339 Add more JSON events 2023-08-26 20:33:16 -07:00
138a91e57d Flip spaces for player 2 2023-08-25 01:39:43 -07:00
2408478221 Add move command 2023-08-25 00:26:56 -07:00
42b74236e6 Add game logic 2023-08-22 17:05:35 -07:00
cfbdd632a9 Add protocol specification 2023-08-20 21:21:49 -07:00
6ce7af469a Initial commit 2023-07-31 16:46:28 -07:00