in reply to Six-side dice roll calculator

Late comment here; adding to the pile-on.

I put "my first dice module" in this post. Part of what I like about it is the separation of presentation from logic (ok, not GREAT separation, but the programmer can choose between ->toString and ->toTextArt). It was when I was a young naive programmer (weeks ago!), so it's not great code, but feel free to adapt as you like.


I humbly seek wisdom.