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
|
|
|
是
shì
|
|
|
|
那里
nà lǐ
|
|
|
|
家
jiā
|
|
|
|
来
lái
|
|
|
|
因为
yīn wéi
|
|
|
|
谁
shéi
|
|
|
|
说话
shuō huà
|
|
|
|
在
zài
|
|
|
|
很
hěn
|
|
|
|
很多
hěn duō
|
|
|
|
不喜欢
bù xǐ huān
|
|
|
|
听见
tīng jiàn
|
|
|
|
里面
lǐ miàn
|
|
|
|
也
yě
|
|
|
|
住在
zhù zài
|
|
|
|
给
gěi
|
|
|
|
车站
chē zhàn
|
|
|
|
没有
méi yǒu
|
|
|
|
可以
kě yǐ
|
|
|
|
公园
gōng yuán
|
|
|
|
会
huì
|
|
|
|
马路
mǎ lù
|
|
|
|
森林
sēn lín
|
|
|
|
吃
chī
|
|
|
|
有
yǒu
|
|
|
|
旁边
páng biān
|
|
|
|
读
dú
|
|
|
|
得到
dé dào
|
|
|
|
Team A 0
|
Team B 0
|
|
|
|