Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
機率與統計
Search
maggie
June 18, 2014
Research
270
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
機率與統計
B0129052_郭驊瑩
maggie
June 18, 2014
Other Decks in Research
See All in Research
GLIM とMegaParticles:正規分布近似の限界とタイトカップリング&パーティクルフィルタの進展 / GLIM and MegaParticles : Progress of the distribution representation in SLAM
koide3
0
960
Adapter les bergeries aux fortes chaleurs
institutdelelevage
PRO
0
140
Prithvi-EO-2.0
satai
3
100
Cross-Media Human-Information Interaction
signer
PRO
0
280
[WebDB2026]セレンディピティ指向推薦システム再考 ―セレンディピティの原義・類型・発生過程に基づく設計指針―
recsyslab
PRO
0
210
視覚若手の会LENSって何??
mickey_0226
0
360
La génomique au service de la fromageabilité du lait grâce aux spectres MIR
institutdelelevage
PRO
0
180
Model Predictive Control for Uncertain Systems: Robust & Data-Driven Designs
kohlerjohannes
0
170
Pesée et pointage par imagerie 3D : PHENO3D entre en phase de test terrains
institutdelelevage
PRO
0
110
Language and AI
ayaniwa
0
320
The Conductor Pattern -Multi-Granularity Feedback for Creative Agents-
shibuiwilliam
2
110
[最先端NLP勉強会2026] Agentic Rubrics as Contextual Verifiers for SWE Agents
rfujii
1
390
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
433
67k
Amusing Abliteration
ianozsvald
1
350
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
Utilizing Notion as your number one productivity tool
mfonobong
4
620
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Believing is Seeing
oripsolob
1
240
Become a Pro
speakerdeck
PRO
31
6.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.2k
Discover your Explorer Soul
emna__ayadi
2
1.3k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Transcript
機率與統計 期末報告
這段程式是我在宣告一些函式用的 程式碼解說
這邊是在設定視 窗的長、寬,第 一行是設定一開 始進去旋轉的速 度,中間那段是 設定顏色,下面 是上下左右
這邊是在顯示一進 去畫面的字,設定 視窗大小,呼叫啟 動的函示
這邊是遊戲啟動 的函式,設定一 開始的x、y,下 面是得到蘋果的 隨機位置
上面是看蟲蟲有沒有超過視窗 下面是檢查蟲蟲是否有吃掉蘋果
如果蟲蟲有吃掉蘋果的話,他就會增加一個身體
遊戲一開始的畫面 右下角有“Press a key to play”,他的 字體顏色跟要放的 位置都是在上面這 個函式設定的,下
面的函示是在檢查 你是否有按下任意 鍵
這邊是在設定一進入的 畫面,一進入有會旋轉 的框框,框框的顏色跟 大小都是在這邊設定的
上面是終止的 函式,中間是 在算x、y的隨 機位置,下面 是顯示“Game Over”字樣的 一些設定,如 果結束後再按 任意鍵,遊戲
又會再開始
遊戲開始後右上角有分數,上面的函式就是在顯示 分數的,下面的函式是在設定蟲蟲的顏色、大小
上面的函式是在 設定蘋果的位置、 顏色和大小,下 面是在畫背景的 網格顏色、尺寸