Winwheel.js example wheel - wheel of fortune
Here is an example of a code-drawn Wheel of Fortune looking wheel which spins to a stop with the prize won alerted to the user.
With some additional coding it could be made so that the prize won is added to a total after each spin rather than
just alerting the prize to make a proper wheel of fortune like game.
Choose a power setting then press the Spin button. You will be alerted to the prize won when the spinning stops.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Browser Not
|
|
Wide Enough
|
|
Go Full Screen or
|
|
Increase Pixel Density
|
|
|
|
|
洗澡, 機會, 唱, 填寫, 洗臉檯/台, 真心話, 滑雪, 堆, 恐怖片, 服務, 小吃, 志工, 歌舞片, 助理, 健康, 光臨, 連, 歡迎, 新聞, 年輕, 淡, 布置, 客氣, 水準, 濃, 保險, 賞雪, 製作, 浴缸, 影集, 喜劇片, 赫赫有名, 電影, 主角, 回饋, 體育節目, 愛情片, 方便, 設計, 明星, 點心, 電視節目, 雪景, 大方, 資料, 馬桶, 卡通影片, 床, 衣櫃, 文藝片, 健檢中心, 健康檢查, 參觀, 劇情, 臥室, 買票, 鏟雪, 雪人, 兒童節目, 丈夫, 榜樣, 浴室, 洗澡, 機會, 唱, 填寫, 洗臉檯/台, 真心話, 滑雪, 堆, 恐怖片, 服務, 小吃, 志工, 歌舞片, 助理, 健康, 光臨, 連, 歡迎, 新聞, 年輕, 淡, 布置, 客氣, 水準, 濃, 保險, 賞雪, 製作, 浴缸, 影集, 喜劇片, 赫赫有名, 電影, 主角, 回饋, 體育節目, 愛情片, 方便, 設計, 明星, 點心, 電視節目, 雪景, 大方, 資料, 馬桶, 卡通影片, 床, 衣櫃, 文藝片, 健檢中心, 健康檢查, 參觀, 劇情, 臥室, 買票, 鏟雪, 雪人, 兒童節目, 丈夫, 榜樣, 浴室, 洗澡, 機會, 唱, 填寫, 洗臉檯/台, 真心話, 滑雪, 堆, 恐怖片, 服務, 小吃, 志工, 歌舞片, 助理, 健康, 光臨, 連, 歡迎, 新聞, 年輕, 淡, 布置, 客氣, 水準, 濃, 保險, 賞雪, 製作, 浴缸, 影集, 喜劇片, 赫赫有名, 電影, 主角, 回饋, 體育節目, 愛情片, 方便, 設計, 明星, 點心, 電視節目, 雪景, 大方, 資料, 馬桶, 卡通影片, 床, 衣櫃, 文藝片, 健檢中心, 健康檢查, 參觀, 劇情, 臥室, 買票, 鏟雪, 雪人, 兒童節目, 丈夫, 榜樣, 浴室, 洗澡, 機會, 唱, 填寫, 洗臉檯/台, 真心話, 滑雪, 堆, 恐怖片, 服務, 小吃, 志工, 歌舞片, 助理, 健康, 光臨, 連, 歡迎, 新聞, 年輕, 淡, 布置, 客氣, 水準, 濃, 保險, 賞雪, 製作, 浴缸, 影集, 喜劇片, 赫赫有名, 電影, 主角, 回饋, 體育節目, 愛情片, 方便, 設計, 明星, 點心, 電視節目, 雪景, 大方, 資料, 馬桶, 卡通影片, 床, 衣櫃, 文藝片, 健檢中心, 健康檢查, 參觀, 劇情, 臥室, 買票, 鏟雪, 雪人, 兒童節目, 丈夫, 榜樣, 浴室, 洗澡, 機會, 唱, 填寫, 洗臉檯/台, 真心話, 滑雪, 堆, 恐怖片, 服務, 小吃, 志工, 歌舞片, 助理, 健康, 光臨, 連, 歡迎, 新聞, 年輕, 淡, 布置, 客氣, 水準, 濃, 保險, 賞雪, 製作, 浴缸, 影集, 喜劇片, 赫赫有名, 電影, 主角, 回饋, 體育節目, 愛情片, 方便, 設計, 明星, 點心, 電視節目, 雪景, 大方, 資料, 馬桶, 卡通影片, 床, 衣櫃, 文藝片, 健檢中心, 健康檢查, 參觀, 劇情, 臥室, 買票, 鏟雪, 雪人, 兒童節目, 丈夫, 榜樣, 浴室,
|
|
|
Phrases
Nouns
Verbs
Adjectives
| |
Top 25 Phrases
| |
Pinyin
| |
中文
| |
Definition
| |
|
|
|
0-0
|
Click'n Drag to Definition
|
|
|
0-0
|
Mike was here
|
Click'n Arrange
|
Feb 12, '21 15:24
|
|
|
|
Who Knows Vocabulary?
[
]
Spin
|
TTT: No Configuration
|
|
Square 1
|
| Game 1
|
|
|
|
|
|
|
|
Games:
|
|
Pts:
|
|
|
|
| Square 2
| | Game 2
|
|
|
|
|
|
| | Games:
| | Pts:
|
|
|
|
| Square 3
| | Game 3
|
|
|
|
|
|
| | Games:
| | Pts:
|
|
|
|
| Square 4
| | Game 4
|
|
|
|
|
|
| | Games:
| | Pts:
|
|
|
|
| Square 5
| | Game 5
|
|
|
|
|
|
| | Games:
| | Pts:
|
|
|
|
| Square 6
| | Game 6
|
|
|
|
|
|
| | Games:
| | Pts:
|
|
|
|
| Square 7
| | Game 7
|
|
|
|
|
|
| | Games:
| | Pts:
|
|
|
|
| Square 8
| | Game 8
|
|
|
|
|
|
| | Games:
| | Pts:
|
|
|
|
| Square 9
| | Game 9
|
|
|
|
|
|
| | Games:
| | Pts:
|
|
|
|
|
--
|
Start:
--- --- -- ---
Thru:
--- --- -- ---
|
--
|
|
Decathlon -- No Units! (10 Events / Earn 10 pts each)
|
|
Event
|
Game Name
|
Games
|
Points
|
|
Evt #1
|
----- ----- ----- -----
|
0
|
0
|
|
Evt #2
|
----- ----- ----- -----
|
0
|
0
|
|
Evt #3
|
----- ----- ----- -----
|
0
|
0
|
|
Evt #4
|
----- ----- ----- -----
|
0
|
0
|
|
Evt #5
|
----- ----- ----- -----
|
0
|
0
|
|
Evt #6
|
----- ----- ----- -----
|
0
|
0
|
|
Evt #7
|
----- ----- ----- -----
|
0
|
0
|
|
Evt #8
|
----- ----- ----- -----
|
0
|
0
|
|
Evt #9
|
----- ----- ----- -----
|
0
|
0
|
|
Evt #10
|
----- ----- ----- -----
|
0
|
0
|
|
--
Start:
--- --- -- ---
Thru:
--- --- -- ---
--
|
Total
|
0
|
|
TeamWork: ReArrange To Find The Secret Message
|
|
|
|
TeamWork: No Configuration
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--
|
Start:
--- --- -- ---
Thru:
--- --- -- ---
|
--
|
|
|
How do you feel today?
|
Clr
|
|
|
|
|
|
|
Happy
|
|
Sad
|
|
Angry
|
|
Sick
|
|
|
|
|
|
|
|
|
高兴
|
|
难过
|
|
生气
|
|
病了
|
|
|
|
|
Feeling
|
Cnt
|
%
|
Bar Graph
|
|
|
高兴
|
0
|
0%
|
|
|
|
难过
|
0
|
0%
|
|
|
|
生气
|
0
|
0%
|
|
|
|
病了
|
0
|
0%
|
|
|
|
|
目标生词
Target Words
|
C
P
D
|
|
|
洗澡
xǐ zǎo
shower
|
|
|
|
機會
jī huì
chances
|
|
|
|
唱
chàng
to sing
|
|
|
|
填寫
tián xiě
to fill out
|
|
|
|
洗臉檯/台
xǐ liǎn tái / tái
wash basin
|
|
|
|
真心話
zhēn xīn huà
true words
|
|
|
|
滑雪
huá xuě
ski
|
|
|
|
堆
duī
to pile up
|
|
|
|
恐怖片
kǒng bù piàn
horror movie
|
|
|
|
服務
fú wù
service
|
|
|
|
小吃
xiǎo chī
snack
|
|
|
|
志工
zhì gōng
a volunteer
|
|
|
|
歌舞片
gē wǔ piàn
a musical
|
|
|
|
助理
zhù lǐ
an assistant
|
|
|
|
健康
jiàn kāng
health
|
|
|
|
光臨
guāng lín
to visit
|
|
|
|
連
lián
even
|
|
|
|
歡迎
huān yíng
welcome
|
|
|
|
新聞
xīn wén
news
|
|
|
|
年輕
nián qīng
young
|
|
|
|
淡
dàn
light
|
|
|
|
布置
bù zhì
decorate
|
|
|
|
客氣
kè qì
to overpraise
|
|
|
|
水準
shuǐ zhǔn
standard
|
|
|
|
濃
nóng
thick
|
|
|
|
保險
bǎo xiǎn
insurance
|
|
|
|
賞雪
shǎng xuě
to enjoy the snow
|
|
|
|
製作
zhì zuò
to produce
|
|
|
|
Team A 0
|
Team B 0
|
|
|
|