Can I make dice rolling with gyroscope in React Native?

707 Views Asked by At

So, the idea is that there are several dice on the screen and the user needs to shake their phone to roll the dice (or push a button in case they don't have a gyroscope in their phone). The dice should be banging on the screen "walls" like they're in a box or something. At the end all the dice stop on one of their sides. Is there ANY way it can be accomplished with pure React Native/Expo? Any advice is appreciated. And if this one is impossible, can the user at least press the button for the dice to start rolling on the screen?

1

There are 1 best solutions below

1
Dani Gee On