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
j10405000
June 19, 2014
1
100
貪食蛇
貪食蛇遊戲
j10405000
June 19, 2014
Tweet
Share
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Code Review Best Practice
trishagee
74
20k
Bash Introduction
62gerente
615
210k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
55
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
Abbi's Birthday
coloredviolet
1
4.7k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
420
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
4 Signs Your Business is Dying
shpigford
187
22k
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Transcript
機統Python期末作業 貪食蛇 B0129053 柯志霖
操作說明 • 點擊鍵盤上下左右吃蘋果 • 貪食蛇會漸漸長大變長 • 撞到牆壁或自己的身體遊戲結束
程式說明 一開始執行Main函式,接著展示開始畫面,點擊 任何鍵後就會執行”執行遊戲()”函式, ”執行遊戲 ()”函式裡面設定一開始的各種參數,包含一開始 的食物位子,蛇的位子跟行進方向,如果不小心 撞到牆壁或死亡就會執行”展示結束遊系畫面()”函 式,再按任意鍵遊戲就會重新開始。