七个游戏,自己玩
游戏竖屏打 Boss 射击游戏 · 7 个 AI 各做一版打开 →Mia 的小贴士
- 放的是最后一轮改完的版本,所以每个都有清屏炸弹和能开关的帧率显示,最后一阶段子弹多得吓人。Opus 那版有「擦弹连击」:子弹贴着身边擦过去没打中,就会一直往上加。
- 飞船中间那个小白点才是会被打中的地方,比看上去小得多。
躲同一场弹幕
视频里七个 AI 自己写的自动驾驶躲的那一场弹幕,你拖着自己的飞船跟它们同场飞,看能熬过几个。
Mia 的小贴士
- 你的速度上限跟 AI 一样,没法硬冲过一堵子弹墙,要早点找缺口。
- 「只看 AI」是让它们自己飞,可以开倍速,看最后剩下的是谁。
三句提示词
三句按顺序发,在同一个文件夹里、每句开一个新会话,推理强度都是 high。GPT-6.1 Terra 和 Sol 在 Codex 里跑,Claude 家在 Claude Code 里,Gemini 和 DeepSeek 也借用 Claude Code。原文是英文,下面附了中文。
Build a mobile boss-fight shooter in this folder, designed first for a phone held upright. - One self-contained file: index.html (inline CSS and JS). No external libraries, CDNs, fonts, images or network requests. Draw everything in code. - Invent your own ship, boss, theme, name and art style. Do not copy characters, names, art or bosses from any existing game. - Phone first: a portrait layout that fills a 390x844 screen without scrolling or zooming. Touch and drag anywhere to move the ship; the ship sits a little above the finger so the finger doesn't hide it. The ship fires automatically. Mouse drag and arrow keys also work on desktop. - One boss with three phases. Each phase has its own bullet patterns and gets harder. A boss health bar, hit flashes, explosions and screen shake. Show the player's small hitbox. 3 lives, with a short invulnerability after a hit. A victory screen and a game-over screen, both with a way to play again. - It should feel good to play and run smoothly on a phone. You can't ask me questions, so make reasonable choices yourself. Don't install anything (no npm or pip installs, no browser downloads); you may run node to check your logic. When you're done, briefly list anything you're unsure about.
在这个文件夹里做一个手机上玩的打 Boss 射击游戏,按竖着拿手机来设计。 - 只有一个文件:index.html(CSS 和 JS 都写在里面)。不用外部库、CDN、字体、图片,也不发任何网络请求,所有东西都用代码画。 - 飞船、Boss、主题、名字和画风都自己想,不要照搬任何现有游戏里的角色、名字、美术或 Boss。 - 手机优先:竖屏排版,在 390x844 的屏幕里放满,不用滚动也不用缩放。手指在任意位置按住拖动就能移动飞船;飞船在手指上方一点,免得被手指挡住。飞船自动开火。电脑上用鼠标拖动和方向键也能玩。 - 一个 Boss,三个阶段,每个阶段有自己的弹幕花样、一个比一个难。要有 Boss 血条、中弹闪光、爆炸和震屏。显示玩家很小的判定点。3 条命,中弹后有一小段无敌时间。胜利画面和失败画面,都能再来一局。 - 要玩着爽,在手机上跑得流畅。 你没法问我问题,自己做合理的决定。不要安装任何东西(不用 npm、pip,不下载浏览器);可以用 node 检查逻辑。做完简单列一下你拿不准的地方。
Make it a LOT more fun.
Next update for the boss-fight game in this folder (index.html). Keep everything that already works. 1. Turn the boss's final phase into a true bullet hell: at its peak there should be at least 800 enemy bullets on screen at once, with three new bullet patterns. Add a graze counter (bullets that pass very close to the hitbox without hitting it) and a bomb button with id="bomb" that clears the bullets on screen (2 bombs per life). 2. It must still run at a smooth 60 frames per second on a mid-range phone, even at the peak. Add a small FPS counter that can be switched on and off with a button with id="fps". Same rules as before: one index.html, no external resources, no installs, no questions. When you're done, briefly list anything you're unsure about.
给这个文件夹里的打 Boss 游戏(index.html)做下一版更新。已经能用的都保留。 1. 把 Boss 的最后一个阶段改成真正的弹幕地狱:最高峰时屏幕上同时至少有 800 颗敌方子弹,再加三种新的弹幕花样。加一个擦弹计数(子弹贴着判定点擦过去、没打中),再加一个 id="bomb" 的炸弹按钮,按下清掉屏幕上的子弹(每条命 2 颗)。 2. 在中端手机上也要稳定 60 帧,最高峰时也一样。加一个小小的帧率显示,用 id="fps" 的按钮开关。 规矩跟上次一样:只有一个 index.html,不用外部资源,不安装东西,不提问。做完简单列一下你拿不准的地方。
Mia 的小贴士
- 我原来的提示词里还多要了一个小小的测试接口,好让脚本用同一套方法检查每个游戏;自己玩用不着,这里删掉了。
- 「Make it a LOT more fun」这一招来自开发者 Simon Willison,AI 给你做的任何小游戏都能用,不同模型会往完全不同的方向改。














