ai code cleanup

This commit is contained in:
2026-03-18 22:12:25 -04:00
parent 1a6dadec0c
commit c04327c380
3 changed files with 305 additions and 186 deletions

View File

@@ -1,33 +1,54 @@
EndlessSea
==========
游戏相关
----------
#### Play: https://zbww.github.io/EndlessSea
# Endless Sea
#### REPORT: https://zbww.github.io/EndlessSea/report.pdf
Endless Sea is a small browser survival game built with HTML5 canvas, jQuery, and plain JavaScript. You guide a fish through an underwater bullet-hell style field, avoid incoming hazards, and collect diamonds to trigger temporary power-ups.
#### CODE: https://github.com/zbww/EndlessSea/blob/master/js/main.js
## Play
> **游戏说明:**
- Live demo: https://zbww.github.io/EndlessSea
- Project report: https://zbww.github.io/EndlessSea/report.pdf
- Original source reference: https://github.com/zbww/EndlessSea/blob/master/js/main.js
> - 使用鼠标控制
> - 吃**钻石**获得特殊技能
> - 躲避**除了钻石以外**的飞行物体~
> - 建议戴上耳机
## How To Play
> **特色:**
- Move the mouse to steer the fish.
- Avoid every flying object except diamonds.
- Collect diamonds to gain temporary bonuses.
- Press `Space`, `Enter`, or `P` to pause and resume.
- Use headphones if you want the full audio experience.
> - 几乎所有元素都为js动态生成
> - **全部**图形绘制由js代码完成未使用任何外部图片
## Power-Ups
Diamonds can trigger one of several effects:
开发人员:
----------
- Score bonus
- Speed Down
- 1 UP
- Superfish invincibility
- Big Bomb screen clear
- Small World size reduction
周伯威 zbwwwww@gmail.com
林杨湄 linym012@163.com
## Running Locally
开发时间:
-----------
This project is static and does not require a build step.
2014年7月12日~16日
1. Clone or download the repository.
2. Open `index.html` in a modern browser.
If your browser blocks autoplay audio, start the game with a click so music playback can begin normally.
## Project Notes
- Most visible game elements are generated dynamically in JavaScript.
- All game graphics are drawn in code with canvas rather than external image assets.
- Audio files are included in the repository under `music/`.
## Credits
Developers:
- Bobwei Zhou
- Yangmei Lin
Original development period:
- July 12, 2014 to July 16, 2014