You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings,
I am creating a mock-up roulette game inspired by a guide .
I have an issue with the countdown , in terms of the countdown stops at 9.94 instead of going down to 0.
This happens because i used onRest : props done in countdown.jsx and roulette.jsx.
I wish by using this onRest to have the countdown reset after going to 0 and as well as the rolling animation.
Here is an image to make a better understanding of my issue
And if you wish to take a look over my code here is the github to the code
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Greetings,
I am creating a mock-up roulette game inspired by a guide .
I have an issue with the countdown , in terms of the countdown stops at 9.94 instead of going down to 0.
This happens because i used onRest : props done in countdown.jsx and roulette.jsx.
I wish by using this onRest to have the countdown reset after going to 0 and as well as the rolling animation.

Here is an image to make a better understanding of my issue
And if you wish to take a look over my code here is the github to the code
https://github.com/micriteo/RoulleteGame
Beta Was this translation helpful? Give feedback.
All reactions