Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
Announcing the tabula backgammon engine
107 views
Skip to first unread message
Trevor Slocum
unread,
Dec 6, 2023, 9:48:10 PM
12/6/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
tabula is a relatively simple backgammon engine, created to allow playing offline in the client for
https://bgammon.org
The engine currently performs a weighted 1-ply analysis. Read about how the engine works in the design document at
https://code.rocket9labs.com/tslocum/tabula/src/branch/main/DESIGN.md
You can play against tabula in your browser right now at
https://bgammon.org
Source code:
https://code.rocket9labs.com/tslocum/tabula
Martin Schnabel
unread,
Dec 7, 2023, 5:04:07 AM
12/7/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golan...@googlegroups.com
Hi Trevor,
I played two games against the bot and it was fun! Thank you!
However, there is a bug in the end game, when collecting pieces, and a
go stack trace in the console:
panic: no dice roll to use for 7/0
[…]
code.rocket9labs.com/tslocum/bgammon.(*Game).LegalMoves.func3(0x7
, 0x0)
/home/trevor/go/pkg/mod/
code.rocket9labs.com/tslocum/bga...@v0.0.0-20231203064241-5abce61fabb1/game.go:402
+0x2b
Have fun!
> --
> You received this message because you are subscribed to the Google
> Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
golang-nuts...@googlegroups.com
> <mailto:
golang-nuts...@googlegroups.com
>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/golang-nuts/d2fa3992-ce29-48db-a6be-aa51b2e0a490n%40googlegroups.com
<
https://groups.google.com/d/msgid/golang-nuts/d2fa3992-ce29-48db-a6be-aa51b2e0a490n%40googlegroups.com?utm_medium=email&utm_source=footer
>.
Reply all
Reply to author
Forward
0 new messages