Prompt Template

Gravity Flux Flappy Engine

Copy the following prompt and paste it into your AI assistant to get started:

AI Prompt

I want you to act as a top-tier physics-based gameplay programmer. Produce a SINGLE FILE (index.html) build of an architectural flight evasion game.

GAME SPEC:

Title: Gravity Flux

Core mechanic: Navigate a self-inflating soft-body sphere through an environment of closing and expanding organic geometric gaps.

Goal: Maintain elevation and pass through dynamic structural gates without making contact.

TECH REQUIREMENTS:

Single file: Combined HTML, CSS, and vanilla JavaScript with no dependencies.

Rendering: 2D Canvas API. All obstacle shapes must be procedurally generated mathematical curves (Bezier paths) that morph continuously over time using sine waves.

Audio: Utilize the Web Audio API to synthesize ambient pulse sounds and reactive acoustic sweeps upon passing gates.

Design style: Zen-like abstract art style. Uses a monochromatic pastel palette with deep soft shadows (shadowBlur on canvas) to emphasize spatial depth and fluid motion.
Try Prompt

This prompt template is designed to help you get better results from AI models like ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI assistant to get started.

Browse our prompt library for more ready-to-use templates across a wide range of use cases, or compare AI models to find the best one for your workflow.

AI chat subscription

Turn model research into daily AI work.

Use 40+ models, web search, files, and EU-hosted options in one paid chat workspace.