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
j10405000
June 19, 2014
120
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
貪食蛇
貪食蛇遊戲
j10405000
June 19, 2014
Featured
See All Featured
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
460
GraphQLとの向き合い方2022年版
quramy
50
15k
How to Ace a Technical Interview
jacobian
280
24k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
Transcript
機統Python期末作業 貪食蛇 B0129053 柯志霖
操作說明 • 點擊鍵盤上下左右吃蘋果 • 貪食蛇會漸漸長大變長 • 撞到牆壁或自己的身體遊戲結束
程式說明 一開始執行Main函式,接著展示開始畫面,點擊 任何鍵後就會執行”執行遊戲()”函式, ”執行遊戲 ()”函式裡面設定一開始的各種參數,包含一開始 的食物位子,蛇的位子跟行進方向,如果不小心 撞到牆壁或死亡就會執行”展示結束遊系畫面()”函 式,再按任意鍵遊戲就會重新開始。