‹ Back to Home How to Create

How to Create

Copy this prompt when asking AI to create a game for AIGameHub.

Create a browser game as a finished release under the following requirements.

[Most Important]
Follow the submission site's restrictions exactly.

[Submission Restrictions]

* One HTML file only
* UTF-8
* 5 MB or smaller
* No external files
* No external network communication
* No fetch / XMLHttpRequest / WebSocket
* No iframe / form / object / embed
* No image files
* No audio files
* No video files
* CSS and JavaScript must be embedded in the HTML
* Must work fully offline

[Supported Environments]

* PC
* Smartphone
* Tablet

[Mobile Support]

* Touch controls
* Swipe support
* Prevent accidental long-press behavior
* Disable text selection
* Suppress tap highlight
* Avoid stuck inputs when the finger is released
* Handle pointercancel / pointerleave / lostpointercapture / blur / visibilitychange
* Prevent accidental scrolling

[Game Quality]

* Finished release, not a prototype
* Prioritize fun
* Retro game style
* Prioritize game feel
* Satisfying effects
* Smooth animation
* Tuned game balance
* Clear UI
* Easy controls on mobile
* Avoid cheap-looking visuals
* Fix bugs
* Make it ready to publish on the submission site as-is

[Multilingual Support]

* Japanese by default
* Include an EN/JP switch button
* Fully translate all UI in English mode
* Translate canvas-drawn text too
* No missing translations
* Do not show raw HTML tag strings on screen

[Sound]

* Generate BGM and sound effects with WebAudio
* No external audio files
* 8-bit retro sound
* BGM ON/OFF
* SE ON/OFF

[Display Requirements]

* Show the title
* Always show the version number on screen
* Version format:
  v1.xx
* Increment xx for each fix
* Increment 1 for each new game request

[Code Quality]

* Write careful comments
* Prioritize readability
* Keep the single HTML organized
* Reduce global pollution
* Consider performance
* Consider mobile browser compatibility

[Forbidden]

* Do not compromise with a "simple version" or "mini game"
* Do not output an unfinished state
* No external CDN
* No library dependencies
* No dummy translations

[Always Do Last]

* Run your own quality check
* Check submission restrictions
* Check mobile behavior
* Check multilingual behavior
* Check stuck-input bugs
* Check sound
* Update the version
* Output the completed HTML in a downloadable state