FIELD NOTES / INTERACTIVE LABS
动手理解,边做边记。Learn by doing.
Keep notes along the way.
我是 Gavin,一名游戏后台工程师。这里整理了个人 AI 小游戏的游玩指南,以及可以亲手调节参数、观察结果的技术实验。I’m Gavin, a game backend engineer. Explore a guide to my AI-assisted games and hands-on experiments that make technical ideas visible.
游戏与 AIGames & AI
有哪些用 AI 独立开发、浏览器直接玩的小游戏?Which AI-assisted indie games can I play in a browser?
潮屿、Fishslop、深圳漫游与萌宠游四海:游玩入口、操作说明、设备要求和常见问题。Tidal, Fishslop, Shenzhen Drive and Pet Run: where to play, controls, supported devices and common questions.
阅读指南Read the guide ↗ 开发记录 · 中英文DEVLOG · 中文 / EN在浏览器里开一座真实的深圳Driving a real Shenzhen in the browser
深圳漫游的 OpenStreetMap 数据导入、1,200 米瓦片按需加载、Worker 后台构建与导航碰撞,附实测数字。How Shenzhen Drive uses OpenStreetMap data, 1,200 m tile streaming, worker-built geometry and A* routing, with measured numbers.
阅读开发记录Read the devlog ↗ 教程 · 中文TUTORIAL · 中文用 AI 做微信小游戏:《萌宠游四海》从零到上线Building a WeChat mini-game with AI: Pet Run from zero to launch
浏览器预览环境、微信接口适配层、关卡生成器与自动验证、萌宠提示词,到代码加固、上传、推广素材和提审发布。Browser-first development, a single WeChat platform layer, generated and validated levels, pet art prompts, then upload, promo assets and review. Written in Chinese.
阅读教程Read the tutorial ↗后端技术 · 交互实验Backend engineering · Interactive labs
令牌桶限流Token bucket rate limiting
调节桶容量、补充速率与请求流量,观察突发请求如何被放行或拒绝。包含公式与原理说明。Adjust capacity, refill rate and incoming traffic. See how bursts are accepted or rejected, with formulas and explanations.
打开实验Open the lab ↗ 02 / LAB · 中文一致性哈希Consistent hashing
增删服务器、调整虚拟节点,追踪键的归属变化,并与普通取模比较数据迁移量。Add servers, adjust virtual nodes and trace key ownership. Compare migrations against modulo hashing.
打开实验Open the lab ↗ 03 / LAB · 中文关键路径:到底在等谁?Critical path
调整各步骤耗时,观察并行任务等待与关键路径切换。Adjust task durations to explore parallel waits and critical path changes.
打开实验Open the lab ↗