# 🐛 DaiDai Worm · 呆呆虫之豆豆潭

 > A 3D browser remake of the cozy 1999 Windows classic **«呆呆虫之豆豆潭»** by **Fan Yipeng (樊一鹏)**. Built entirely with WebGL, plays in your browser, no install. A nostalgia letter from a fan to one of the C++/DirectX-era games that shaped a generation.

 > 这是我小时候非常喜欢玩的一款游戏,作者 **樊一鹏**,1999 年开发,2004 年发布。  

 > 致敬老一代程序员 🙏 —— 你们用一行行 C++ / DirectX 写出了我们童年的快乐。  

 > 一直想把它复刻一下,无奈能力有限。感谢 AI 的出现,让这个心愿终于实现。

 📖 Wikipedia / 百度百科: [呆呆虫之豆豆潭](https://baike.baidu.com/item/%E5%91%86%E5%91%86%E8%99%AB%E4%B9%8B%E8%B1%86%E8%B1%86%E6%BD%AD/265011)

 ---

 ## 🎮 How to play · 玩法

 - **Arrow keys / WASD / gamepad stick / swipe** — move the worm (8-direction)

 - **Space / A button / ▶** — start / pause · **Enter / B** — restart

 - 方向键 / WASD / 摇杆 / 屏幕滑动控制呆呆虫(支持 8 方向斜走);空格 / A / ▶ 开始 / 暂停;回车 / B 重开

 Eat a bean → grow 1 segment + 5 points. Every 20 beans → the worm sheds skin.  

 Eat **5 same-color beans in a row** → trigger a magic effect ↓  

 每吃一颗豆子长一节得 5 分;每 20 颗蜕一次皮。连吃 5 颗同色豆触发魔法 ↓

 | Color · 颜色 | Magic · 魔法 | Effect · 效果 |

 |---|---|---|

 | 🔴 Red 红 | Boost 变速 | Speed boost for 15s, multiplier doubles on each re-trigger (×2 → ×4 → ×8 …) |

 | 🟠 Orange 橙 | Laser 圣光 | Worm head shoots a golden laser — anything it hits becomes a gold bean (+30) |

 | 🟢 Green 绿 | Renew 生机 | Shed skin segments turn back into edible beans |

 | 🔵 Blue 蓝 | Rain 降雨 | Rainstorm for 15s, every bean +10 during it |

 | 🟣 Purple 紫 | Shrink 寸缩 | Worm length halved instantly — a lifesaver |

 ---

 ## ✨ Changes from the 1999 original · 与原版的不同

 - 🌊 **3D pond** — Three.js top-down 3D with water caustics, ripples, grass tufts, metallic gold beans (原版 2D 像素,本版 3D)

 - 🔴 **Stacking boost multipliers** — re-triggering red magic stacks the multiplier (×2 → ×4 → ×8 …),鼓励连击堆分

 - 🟠 **Orange "halo" reworked as a directed laser** — more intuitive, fires from the head along the current direction

 - 🌧️ **Beans rain from the sky** — replaces the original "60s random-delete-a-bean" rule

 - 🐍 **Shed skin is now solid** — hitting it kills you; eat it, dodge it, or convert it with green magic

 - 🎵 **All sound effects rebuilt with WebAudio** (Opus-compressed; iOS mute-switch bypass on mobile)

 - 🎮 **Universal input** — keyboard / touch swipe / Xbox / PlayStation gamepads, with auto-detected button hints

 - 🌐 **i18n** — 简中 / 繁中 / English / 日本語

 ---

 ## 🖥 Web & Desktop · 浏览器版 / 桌面版

 - 🌐 **Plays directly in your browser** — just hit "Run game" above (浏览器即开)

 - 🖥 **Native desktop builds** for Windows / macOS / Linux → [GitHub Releases](https://github.com/tg123/daidai/releases)

 - 📱 **Mobile** — swipe controls, portrait or landscape (触屏滑动,竖屏/横屏均可)

 ---

 ## 🛠 Open source · 开源

 代码 100% 开源 ,欢迎 PR / Issue / Star ⭐

 👉 https://github.com/tg123/daidai

 Built with: **TypeScript · Three.js · Vite · WebAudio · Tauri**

 ---

 ## 🙏 Credits · 致谢

 - **Original game · 原作**: «呆呆虫之豆豆潭» by **Fan Yipeng (樊一鹏)**, 1999 (C++ / DirectX)

 - **Legacy source archive · 原版源码归档**:

 - **3D remake · 3D 重制**: a non-commercial fan project made out of love for the original (一个非商业 fan project,纯粹出于对原作的喜爱)

Leave a comment

Log in with itch.io to leave a comment.