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%
|
|
|
|
|
|
|
|
|
今天天氣
|
|
|
小老師: 1 2 3 4 5 6 7 - A B C D E
|
|
|
目標生詞
Target Words
|
C
P
D
|
|
|
早上
zǎo shàng
morning
|
|
|
|
洗過澡了
xǐ guò zǎo le
took a shower
|
|
|
|
要洗乾淨
yào xǐ gān jìng
wash clean
|
|
|
|
教室
jiào shì
classroom
|
|
|
|
休息
xiū xí
rest
|
|
|
|
看醫生
kàn yī shēng
see a doctor
|
|
|
|
感冒
gǎn mào
catch a cold
|
|
|
|
痛
tòng
hurt
|
|
|
|
肚子
dù zi
stomach
|
|
|
|
恭喜發財
gōng xǐ fā cái
Wish you prosperity and wealth
|
|
|
|
用肥皂洗臉
yòng féi zào xǐ liǎn
use soap to wash face
|
|
|
|
怎麼了
zěn me le
how, how come, why?
|
|
|
|
上廁所
shàng cè suǒ
go to the bathroom
|
|
|
|
說他/她…..
(someone) says(he
|
|
|
|
喉嚨
hóu lóng
throat
|
|
|
|
趴
pā
lie down, lie, lay your head on
|
|
|
|
招財進寶
zhāo cái jìn bǎo
Lucky fortune
|
|
|
|
接
jiē
pick
|
|
|
|
不舒服
don`t feel good, uncomforterbale
|
|
|
|
陪
péi
do
|
|
|
|
可能
kě néng
maybe
|
|
|
|
發燒
fā shāo
have a fever
|
|
|
|
為什麼
wèi shén me
why
|
|
|
|
生病
shēng bìng
get
|
|
|
|
等一下
děng yī xià
wait a little
|
|
|
|
吐
tù
vomit
|
|
|
|
好像
hǎo xiàng
seem like, seem to be, seem
|
|
|
|
因為
yīn wéi
because
|
|
|
|
Team A 0
|
Team B 0
|
|
|
|