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
機率與統計
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
maggie
June 18, 2014
Research
0
260
機率與統計
B0129052_郭驊瑩
maggie
June 18, 2014
Tweet
Share
Other Decks in Research
See All in Research
ドメイン知識がない領域での自然言語処理の始め方
hargon24
1
240
ロボット学習における大規模検索技術の展開と応用
denkiwakame
1
210
ForestCast: Forecasting Deforestation Risk at Scale with Deep Learning
satai
3
390
Mamba-in-Mamba: Centralized Mamba-Cross-Scan in Tokenized Mamba Model for Hyperspectral Image Classification
satai
3
600
生成AI による論文執筆サポート・ワークショップ 論文執筆・推敲編 / Generative AI-Assisted Paper Writing Support Workshop: Drafting and Revision Edition
ks91
PRO
0
120
都市交通マスタープランとその後への期待@熊本商工会議所・熊本経済同友会
trafficbrain
0
120
2026.01ウェビナー資料
elith
0
220
Earth AI: Unlocking Geospatial Insights with Foundation Models and Cross-Modal Reasoning
satai
3
480
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
330
財務諸表監査のための逐次検定
masakat0
1
250
[Devfest Incheon 2025] 모두를 위한 친절한 언어모델(LLM) 학습 가이드
beomi
2
1.4k
説明可能な機械学習と数理最適化
kelicht
2
940
Featured
See All Featured
Visualization
eitanlees
150
17k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Building an army of robots
kneath
306
46k
Accessibility Awareness
sabderemane
0
56
Balancing Empowerment & Direction
lara
5
890
Documentation Writing (for coders)
carmenintech
77
5.3k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
93
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
54
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Designing for Performance
lara
610
70k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
130
Producing Creativity
orderedlist
PRO
348
40k
Transcript
機率與統計 期末報告
這段程式是我在宣告一些函式用的 程式碼解說
這邊是在設定視 窗的長、寬,第 一行是設定一開 始進去旋轉的速 度,中間那段是 設定顏色,下面 是上下左右
這邊是在顯示一進 去畫面的字,設定 視窗大小,呼叫啟 動的函示
這邊是遊戲啟動 的函式,設定一 開始的x、y,下 面是得到蘋果的 隨機位置
上面是看蟲蟲有沒有超過視窗 下面是檢查蟲蟲是否有吃掉蘋果
如果蟲蟲有吃掉蘋果的話,他就會增加一個身體
遊戲一開始的畫面 右下角有“Press a key to play”,他的 字體顏色跟要放的 位置都是在上面這 個函式設定的,下
面的函示是在檢查 你是否有按下任意 鍵
這邊是在設定一進入的 畫面,一進入有會旋轉 的框框,框框的顏色跟 大小都是在這邊設定的
上面是終止的 函式,中間是 在算x、y的隨 機位置,下面 是顯示“Game Over”字樣的 一些設定,如 果結束後再按 任意鍵,遊戲
又會再開始
遊戲開始後右上角有分數,上面的函式就是在顯示 分數的,下面的函式是在設定蟲蟲的顏色、大小
上面的函式是在 設定蘋果的位置、 顏色和大小,下 面是在畫背景的 網格顏色、尺寸