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/bgammon@v0.0.0-20231203064241-5abce61fabb1/game.go:402
+0x2b
Have fun!
On 12/7/23 03:48, Trevor Slocum wrote:
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
--
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+unsubscr...@googlegroups.com
<mailto:golang-nuts+unsubscr...@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>.
--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/44f405ab-1c92-4a37-9644-7ed476bce2e5%40mb0.org.