Plane Sailing
Astral Admin - Mwahahaha!
dickenscider said:@Plane Sailing, I think you can simplify the code if you like. It outputs a long string when only the actual die roll result is probably most useful. The extra info in the output is just there for display purposes in case you want to show a breakdown of the rolls to the UI or whatever consumer/caller.
Yes, I simplified it to just return an int. For my money a static method is exactly what is needed here - I never need to know the state of the dice at any point, it doesn't have to exist as a distinct entity. It just provides me the die rolling function when I need it.
I'm having fun with Test-Driven Development at the moment, and it is proving more beneficial than I thought it would

FWIW my little 'project' is to create a client-server 'dungeon viewer' app which will be like a simplified version of the new thing by electronic arts.
Cheers