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.
→
j10405000
June 19, 2014
1
100
貪食蛇
貪食蛇遊戲
j10405000
June 19, 2014
Tweet
Share
Featured
See All Featured
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
180
Tell your own story through comics
letsgokoyo
1
810
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Agile that works and the tools we love
rasmusluckow
331
21k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3k
Rails Girls Zürich Keynote
gr2m
96
14k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
780
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Transcript
機統Python期末作業 貪食蛇 B0129053 柯志霖
操作說明 • 點擊鍵盤上下左右吃蘋果 • 貪食蛇會漸漸長大變長 • 撞到牆壁或自己的身體遊戲結束
程式說明 一開始執行Main函式,接著展示開始畫面,點擊 任何鍵後就會執行”執行遊戲()”函式, ”執行遊戲 ()”函式裡面設定一開始的各種參數,包含一開始 的食物位子,蛇的位子跟行進方向,如果不小心 撞到牆壁或死亡就會執行”展示結束遊系畫面()”函 式,再按任意鍵遊戲就會重新開始。