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
110
B0129047陳俞臻-機統期末project
YuChen
June 19, 2014
Tweet
Share
Featured
See All Featured
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
150
Six Lessons from altMBA
skipperchong
29
4.2k
Raft: Consensus for Rubyists
vanstee
141
7.3k
The Curse of the Amulet
leimatthew05
1
8.7k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
What's in a price? How to price your products and services
michaelherold
247
13k
ラッコキーワード サービス紹介資料
rakko
1
2.3M
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Prompt Engineering for Job Search
mfonobong
0
160
Automating Front-end Workflow
addyosmani
1371
200k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
410
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
71
Transcript
機率與統計 期末PROJECT B0129047 陳俞臻
記憶方塊 玩家須對應前面的順序按方 塊(用滑鼠或是鍵盤q,w,a,s), 方塊順序會累加,輸了分數 歸零
前面引入一些會用到的模 組(如random,pygame….) 設定遊戲版面 用R,G,B配置顏色
一 些 函 式 會 用 到 的 名 稱
用 中 文 取 名
設置四個方塊大小
這裡是在設定一進入遊戲的畫面,以及載入音樂
這裡是遊戲 要看你是按滑 鼠還是鍵盤 q,w,a,s然後對 照
這裡是產生隨機的方塊,然後看使用者有沒有正確對照,有 的話程式繼續執行,沒有的話,產生死亡動畫然後分數歸零
None
按鈕動畫是要做出黃,藍, 紅,綠四個方塊(包含顏色,以 及他們對應的音樂等等)
改變背景動畫,是要 做當一個階段過後會改 變他的背景顏色
最後做出死亡動畫
None