Inspiration

We wanted a game without structural limits, something that could evolve endlessly instead of relying on fixed tilesets, handcrafted maps, or predictable seeds. To do this we explore how AI could be used to guide the generation, making every map feel hand-crafted at a fraction of the cost.

What it does

PromptCraft is an infinite 2D world that serves as a playable proof of concept for the future of map generation. By using AI, we made sure every world is unique and genuinely fun to explore. It removes the tediousness of manual map creation and breaks the repetitive feel of traditional seeded generation, opening the door to a completely new style of exploration. The result is a more dynamic experience that shows what the next generation of world-building systems can look like when AI handles the complexity.

How we built it

  • Backend: Our backend was built in Python + Django, it was used as our means of map generation and interaction with the Gemini API. Prompt engineering to ensure good map generation, along with safeguards to ensure playability.
  • Frontend: Our frontend was built with React for serving the webpage and managing the event bus, and Phaser.js for rendering our game and providing movement physics.

Challenges we ran into

  • Smart procedural map generation using AI caused a lot of inconsistent and often very poor map generation, had to implement safeguards and checks to make sure each map was playable.
  • First experience using a game engine
  • User interaction

Accomplishments that we're proud of

  • Fully procedural generation with infinite world possibilities, with each world being fully playable.
  • Map generation API for 2D games, can be extrapolated into other 2D games as well.

What we learned

  • 2D game rendering
  • How to guide an AI model to achieve great results
  • How math integrates into world generations (Markov chains, seeds, etc.)

What's next for PromptCraft

  • Deployed the cloud and fully playable for anyone!
  • More interaction with our procedurally generate world
  • Open API endpoint for public users
Share this project:

Updates