doc/Modules: add documentation on the dice rolling function