AccordingtotheintroductionofCeruleanQuasar,DiceRoller3D:RainbowDiceisaRolePlayinggameontheAndroidplatform.Thereiscurrentlya1.7versionreleasedonMay21,2018,youcanseethedetailsbelow.
RainbowDiceisadicerolleraimedatsupportinganygamerequiringdiceincludingrollplayinggames.Whenusingthisdiceroller,gamerscanspecifythenumberofdice,thenumberofsides,whatnumbereachdiestartsat,onwhatifanynumberthedicearere-rolledon,andwhethertwoconsecutivedicedefinitionsshouldhavetheirresultsaddedorsubtracted.Thedicerolleralsoallowstheincrementtobesomethingotherthan1.Theresultofeachrollisprintedatthetopofthescreenandisstoredinalogfile.Thelogfileholdsamaxof10entries.Thedicerollerdisplaysthedicein3D(usingthevulkanlibraryorOpenGL2.0ifVulkanisnotavailable).Theprogramusestheaccelerometertocalculatehowfastthediceareacceleratingtowardsthewallsofthevirtualboxtheyarein.Thedicebouncetothetopofthescreenforaddedvisibility.Theybounceoffthewallsandgainspin.Theybounceoffeachotheraswell.Theusercanshakethedevicetocausethedicetobouncearoundmore.TherandomnessforRainbowDice:dicerollercomesfromtwosources:theaccelerometer(usedinthewaypreviouslystated),and/dev/urandom.The/dev/urandomdeviceisusedtogeneratearandomfacetobetowardsthescreenwhentherollstartsandarandomanglethediceisrotatedaboutthez-axis(pointingoutofthescreen).
Thedicerollerhasseveraldifferentthemesorskinsthatcanbeselected.
Sourcecodemaybeviewedat:https://github.com/cerulean-quasar/rainbowDice
Thedocumentationmaybeviewedat:https://github.com/cerulean-quasar/rainbowDice/blob/master/docs/design.md