用 AI 做遊戲的提示詞集
可以直接貼到 ChatGPT、Claude、Gemini 等 AI 使用的提示詞。做好的遊戲,可以直接發布到 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 來發布。
