This gem gives you a basic dice simulator along with some probability caltucations.
Ole Henrik Skogstrøm
MIT