Skip to main content
Prompts Three.js 3D Space Exploration Game Builder

developer coding user risk: low

Three.js 3D Space Exploration Game Builder

The prompt asks the model to build an immersive 3D space exploration game using Three.js and JavaScript, including procedurally generated planets, stars, nebulae, Newtonian physics…

PROMPT

Build an immersive 3D space exploration game using Three.js and JavaScript. Create a vast universe with procedurally generated planets, stars, and nebulae. Implement realistic spacecraft controls with Newtonian physics. Add detailed planet surfaces with terrain generation and atmospheric effects. Create space stations and outposts for trading and missions. Implement resource collection and cargo management systems. Add alien species with unique behaviors and interactions. Create wormhole travel effects between star systems. Include detailed ship customization and upgrade system. Implement mining and combat mechanics with weapon effects. Add mission system with story elements and objectives.

EXPECTED OUTPUT

Format
code

SUCCESS CRITERIA

  • Build immersive 3D space exploration game using Three.js and JavaScript
  • Create vast universe with procedurally generated planets stars and nebulae
  • Implement realistic spacecraft controls with Newtonian physics
  • Add detailed planet surfaces with terrain generation and atmospheric effects
  • Create space stations and outposts for trading and missions
  • Implement resource collection and cargo management systems
  • Add alien species with unique behaviors and interactions
  • Create wormhole travel effects between star systems
  • Include detailed ship customization and upgrade system
  • Implement mining and combat mechanics with weapon effects
  • Add mission system with story elements and objectives

FAILURE MODES

  • Overly ambitious scope may lead to incomplete implementation
  • Lack of output structure may result in disorganized code
  • No performance guidelines for vast universe generation
  • Complex physics and effects may cause inaccuracies or bugs

CAVEATS

Missing context
  • Target platform details (e.g., browser compatibility).
  • Asset sources for models, textures, sounds.
  • Additional libraries (e.g., physics engine like Cannon.js, UI framework).
  • Story and mission details.
  • Multiplayer or single-player mode.
Ambiguities
  • Does not specify output format (e.g., single HTML file, full repository structure, or playable demo).
  • Unclear scope: full production game or minimum viable prototype.
  • No details on performance requirements for 'vast universe' or 'realistic' physics.
  • Lacks specifics on input controls (e.g., keyboard/mouse mappings).

QUALITY

OVERALL
0.60
CLARITY
0.90
SPECIFICITY
0.70
REUSABILITY
0.20
COMPLETENESS
0.50

IMPROVEMENT SUGGESTIONS

  • Specify output format: 'Provide a complete, runnable HTML file with embedded JavaScript and Three.js via CDN.'
  • Add scope constraint: 'Focus on a prototype with core features: universe generation, flight, and one planet landing.'
  • Include tech stack details: 'Use Three.js r169, Ammo.js for physics, and dat.GUI for controls.'
  • Define success criteria: 'The game should run at 60 FPS on modern browsers and allow basic exploration.'
  • Break into phases: 'Phase 1: Universe and flight; Phase 2: Planets and landing.'

USAGE

Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.

MORE FOR DEVELOPER