Report as inappropriate.
2014/10/28
使用鏈結串列來處理貪食蛇問題:1.利用方向鍵控制前後左右,但不能回頭,避免回頭直接結束遊戲的尷尬情況。2.吃到食物會直接在尾巴新增一個節點。3.隨著吃掉食物的數量增加,速度會愈來愈快。
2548 views / 11 in the last 7 days
1 vote | 0 in the last 7 days
Tags: with-source
To embed this scenario in a web page, copy the following HTML code:
Want to leave a comment? You must first log in.
X
No Comments