An open-source package and algorithm rolling dice notations and handling luck.
This is a problem we originally developed a solution for a long time ago... It originally started as a set of formulas in an excel spreadsheet. Then it became a Lua script used in a video game released in back 2005. Next it became a C# library. And now we're supporting it as a PHP library, called LuckByDice.
Try it Out!
Make consecutive roll using a dice notation:
Run dice notations using Docker:
Install using Composer: