this post was submitted on 05 Dec 2023
5 points (77.8% liked)

boardgames

5561 readers
1 users here now

Everything boardgames

Please stick to English for posts and comments

founded 1 year ago
MODERATORS
 

tabula is a backgammon engine I recently created.

The engine builds on principles described by the author of the Motif engine here: https://bkgm.com/motif/engine.html

You can play against the engine right now at https://bgammon.org

you are viewing a single comment's thread
view the rest of the comments
[โ€“] rutrum@lm.paradisus.day 1 points 11 months ago (1 children)

How exactly do you simulate die rolls? Do you actually use a random number a bunch of times and average? Because its 2d6, it has a known distribution. You could iterate over all combinations and use the probably distribution to weight each result. How did you accomplish this?

[โ€“] wahming@monyet.cc 1 points 11 months ago

Is there a reason standard pseudorandom wouldn't work?