1. Press the spacebar to spin the wheel. 2. Try to get 1,000,000 3. Have fun! 4. If you want, comment your scores.
Here you go @jhb2023! I added in a small tutorial on how to do some cool things with this project. This is a great idea you have! Keep up the good work. 1) Added in a spin velocity to make the spinning animation smoother (ease out principle of animation) 2) Space AND Mouse Click functionality 3) Score is only calculated when the wheel comes to a full stop 4) You can spin again and again until you get 1,000,000! I noticed that the spinning is predictable. It takes 7 spins everytime you play. The way to fix that is to change 24 to a random number somewhere between 20 and 30 (Or a faster number if you want a longer spin)