Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
B0129047陳俞臻-機統期末project
Search
YuChen
June 19, 2014
0
92
B0129047陳俞臻-機統期末project
YuChen
June 19, 2014
Tweet
Share
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
13
2.4k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
242
1.2M
The Invisible Side of Design
smashingmag
294
49k
For a Future-Friendly Web
brad_frost
172
9k
Designing the Hi-DPI Web
ddemaree
276
33k
Testing 201, or: Great Expectations
jmmastey
30
6.4k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
358
22k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
The Invisible Customer
myddelton
114
12k
Building an army of robots
kneath
300
41k
Transcript
機率與統計 期末PROJECT B0129047 陳俞臻
記憶方塊 玩家須對應前面的順序按方 塊(用滑鼠或是鍵盤q,w,a,s), 方塊順序會累加,輸了分數 歸零
前面引入一些會用到的模 組(如random,pygame….) 設定遊戲版面 用R,G,B配置顏色
一 些 函 式 會 用 到 的 名 稱
用 中 文 取 名
設置四個方塊大小
這裡是在設定一進入遊戲的畫面,以及載入音樂
這裡是遊戲 要看你是按滑 鼠還是鍵盤 q,w,a,s然後對 照
這裡是產生隨機的方塊,然後看使用者有沒有正確對照,有 的話程式繼續執行,沒有的話,產生死亡動畫然後分數歸零
None
按鈕動畫是要做出黃,藍, 紅,綠四個方塊(包含顏色,以 及他們對應的音樂等等)
改變背景動畫,是要 做當一個階段過後會改 變他的背景顏色
最後做出死亡動畫
None