Skip to content

Prompt-to-Level Generator

Generates playable levels from a text description.

Advanced36h2–3 people16/20 fit
TL;DR

Build Prompt-to-Level Generator for game designers and players in ~36h with 2–3 people. Stack: Phaser + LLM + JSON.

Why it wins: Generative AI you can actually play.

Build flow

01 · Problem
Designing levels takes time and players run out of content.
02 · Solution
Describe a level; an LLM outputs a tile map, validated for solvability, then played instantly.
03 · Build
  1. 1Tile schema
  2. 2LLM → map JSON
  3. 3Path-finding validator
  4. 4Phaser loader
04 · Demo
Type “ice cave with three keys” → playable level loads.

MVP checklist

  • Prompt input
  • Tile map generation
  • Solvability check
  • Instant play

Tech stack

TechRole
PhaserGame engine
LLMLanguage model
JSONStructured data

Reference repos

Open-source projects you can build on. Links checked 2026-10-31.

Related ideas

More Gaming
  • Explain why the engine's best move is best in plain words

    Intermediate14h1
    Chess engineLLMNext.js
    17/20
  • Every guest gets a secret character while an AI narrator runs the mystery

    Intermediate16h1–3
    LLMSocket.IONext.js
    17/20