• Pat and Vanna

      If you need your fix from America’s Favorite Game Show hosts when they’re not on TV, you can get it here. See what they’re up to and get their latest updates.

    Read More
    • Be a Contestant

      • We’re always looking for smart, enthusiastic players! Take a couple minutes to tell us why you’d be an awesome contestant.

      Apply Now
    • Request Tickets

      Upcoming Show:

      Jan 10, 12:00 PM Culver City

      Wheel Watchers Club members get access to VIP tickets.
      Request Tickets
    • The Wheelmobile

      It’s big, yellow, and making its way through America’s hearts and heartland. Join us at the Wheelmobile’s next stop for puzzles, prizes and fun. You’ll even have the chance to meet our mobile Hosts and try your hand at America’s Game.

      Learn More
  • Sweepstakes

    SEE MORE
    • Wheel Watchers Club Benefits

      Get chances to win $10,000, and score free VIP tickets!

  1. Wheel Of Fortune Games Online
Java Game Wheel Of Fortune

Show your love for Wheel by joining us here after every episode. Watch Wheel of Fortune each weeknight (check your local listings) and jot down the Bonus Round.

Winwheel.js example: Wheel of Fortune

Here is an example of a Wheel of Fortune wheel created on HTML canvas by the JavaScript code of Winwheel.js. As you will see when scrolling down to The code section, creating this type of wheel with Winwheel.js is pretty easy - just specify the number of segments and then the segment properties such as color and text.


After choosing a power level and clicking 'Spin' it animates over a few seconds, spinning to a stop with the prize won alerted to the user.


This example is included in the Winwheel.js download: /examples/wheel_of_fortune/index.html


Sorry, your browser doesn't support canvas. Please try another.


The code


The key bit of code - the parameters to Winwheel.js - used to create this wheel is shown below. To view the full source code used to create this example (including the power selectors and spin button) see the code for this example on Github...

Java Game Wheel Of Fortune
Previous:
< Basic Code Wheel
Next:
Basic image wheel >

Wheel Of Fortune Games Online