Here is an example of a basic code drawn wheel which spins to a stop with the prize won alerted to the user.
Choose a power setting then press the Spin button. You will be alerted to the prize won when the spinning stops.
Sorry, your browser doesn't support canvas. Please try another.