用 AI 做游戏的提示词集

可以直接粘贴到 ChatGPT、Claude、Gemini 等工具里使用的请求文本。做好的游戏可以直接在 Asobiai 发布。

按类型分的提示词

这些是运营团队准备的示例。点“复制”会得到附带手机适配、排行榜等条件的完整请求。把点子部分改成你喜欢的内容吧。

🔘One-button jump game

A penguin jumps when you tap (or press Space) and dodges ice pillars scrolling in from the right. The distance is the score, and it speeds up over time.

☄️Dodging game

Move a spaceship left and right to dodge meteors falling from above. Grabbing the occasional star gives a 5-second shield. More meteors appear over time.

🧱Breakout

Bounce the ball with a paddle to break blocks. Blocks marked with a star drop items (wider paddle, triple ball). Five stages.

🧩Falling-block puzzle

A falling-block puzzle where 3 or more blocks of the same color in a row vanish. Blocks above fall down, and chain reactions multiply the score. Show the next piece.

❓Multiple-choice quiz

A 4-choice trivia quiz. 10 questions per round; faster answers score more. Write 30+ questions and pick them at random each time. Add effects and sounds for right and wrong answers.

🧠Memory game

Panels in a 3×3 grid light up in order and you tap them in the same order. Each round adds one more. A mistake ends the game; the length you remembered is the score.

🎵Rhythm game

Notes fall down four lanes; tap them (or press D, F, J, K) as they cross the line. Make the music with the Web Audio API and judge timing as PERFECT / GOOD / MISS.

🤝Online two-player game

Online tic-tac-toe with a friend. Read the Asobiai SDK docs (https://asobiai.games/sdk/multiplayer), join a room with window.AIGame.joinRoom and send moves with room.send. Show the room code so friends can join.

修改时的提示词

先玩一玩做好的游戏,接着这样提出请求,AI 就会帮你修改。

  • Make it playable on phones with touch controls. Put big buttons at the bottom of the screen
  • Make it easy at first and a little harder every 30 seconds
  • Add sound effects and music with the Web Audio API, plus a mute button
  • Support the Asobiai leaderboard (call window.AIGame?.submitScore(score) on game over)
  • After a round, let players compare with everyone (cast the result with window.AIGame?.tally and show the distribution from getTally — https://asobiai.games/sdk/tally)
  • Read the bug reports on Asobiai, fix them and update the game

大家公开的提示词

在 Asobiai 发布的游戏中,作者公开了提示词(向 AI 提出的请求)的作品。

ブラウザで遊べるオリジナルのミニゲームを1つ作って。
- テーマ・ジャンルは自由。ただし既存の有名ゲームやキャラクター、ブランドに似せないこと
- 1つの HTML ファイル(index.html)に CSS と JavaScript を全部入れる。外部の画像・フォント・ライブラリは読み込まない(必要な絵は canvas や CSS で描く)
- 画面の文言は日本語
- キーボードとタッチ(スマホ)の両方で遊べる。16:9 の画面で、ウィンドウの大きさに合わせて拡大縮小する
- 1プレイ1〜3分で終わる。スタート画面・プレイ中・ゲームオーバー画面があり、リトライできる
- ゲームオーバー時に window.AIGame?.submitScore(score) を呼んでスコアを送る(AIGame が無い環境でもエラーにしない)

在编辑页面打开“公开提示词”,你的游戏也会显示在这里。

做好了就发布吧

如果已经连接了 AI,只要说“发布到 Asobiai”就行。也可以粘贴 HTML 来发布。