Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tommm2/snake-game
canvas 貪吃蛇遊戲
https://github.com/tommm2/snake-game
canvas
Last synced: 6 days ago
JSON representation
canvas 貪吃蛇遊戲
- Host: GitHub
- URL: https://github.com/tommm2/snake-game
- Owner: tommm2
- Created: 2021-09-30T06:28:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-30T06:30:09.000Z (over 3 years ago)
- Last Synced: 2024-11-12T23:20:33.357Z (2 months ago)
- Topics: canvas
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 貪吃蛇遊戲
簡介:
* 練習使用 canvas 製作貪吃蛇功能:
* 貪吃蛇吃到水果時的音效
* 基本方向移動
* 撞到牆壁及撞到身體時的偵測
* 重新開始按鈕
* 紀錄目前分數及最高分數[DEMO](https://tommm2.github.io/snake-game/#/)
![專案快照](https://i.postimg.cc/tJpkHDBn/image.jpg)