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
Python
Search
Nice
June 18, 2014
0
690
Python
Nice
June 18, 2014
Tweet
Share
Featured
See All Featured
A Philosophy of Restraint
colly
196
16k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
115
18k
Building Applications with DynamoDB
mza
88
5.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
321
20k
Git: the NoSQL Database
bkeepers
PRO
422
63k
Principles of Awesome APIs and How to Build Them.
keavy
120
16k
Fantastic passwords and where to find them - at NoRuKo
philnash
36
2.5k
Happy Clients
brianwarren
91
6.4k
Automating Front-end Workflow
addyosmani
1355
200k
Raft: Consensus for Rubyists
vanstee
132
6.2k
We Have a Design System, Now What?
morganepeng
42
6.7k
Designing for humans not robots
tammielis
247
25k
Transcript
機統與統計 期末作業
選擇的翻譯遊戲 •積木掉落消掉遊戲
使用者說明 按鍵盤的上,可以旋轉積木 按下可以加速掉落,左右可以左右移動
• 一開始先設定遊戲視窗大小,還有所需的顏色
接著選擇積木的樣板 有S、Z、I、O、J、L、T
主程式 設定變數,並且執行遊戲function
執行遊戲 呼叫許多其他的function 並且依序判斷和記錄時間、分數和位置
創造物件 •宣告所需的物件,並且儲存
•其餘的還有許多function,就不一一介紹了 •詳請請到http://b0129055.blogspot.tw