Inspiration

We wanted to explore how AI can make games more interactive. Traditional 2D games often rely on fixed dialogue and scripted events, but we imagined a world where players could talk to characters naturally and shape the story with their words.

What it does

PromptQuest is a Pygame adventure where players progress by communicating with AI-powered NPCs. Dialogue drives puzzles, story progression, and character interactions, making each playthrough unique. The game interprets player input in real time, creating dynamic, emergent gameplay.

How we built it

  • Built the game world using Pygame, including tiles, characters, and movement mechanics.
  • Integrated a large language model (LLM) to process player text and generate NPC responses.
  • Designed game-state logic that translates AI outputs into in-game actions and events.
  • Implemented asynchronous handling to keep the game responsive while waiting for AI replies.

Challenges we ran into

  • Managing AI response latency without blocking gameplay.
  • Ensuring NPC replies were contextually relevant and coherent.
  • Balancing player freedom of input with structured game events.

Accomplishments that we're proud of

  • Created a game where conversation is the core mechanic.
  • Successfully integrated LLM-driven dialogue into a real-time game loop.
  • Delivered a working demo that reacts dynamically to player choices.

What we learned

  • How to integrate AI with traditional game loops.
  • Techniques for handling dynamic story states.
  • Improved skills in game design, debugging, and API integration.

What's next for PromptQuest

  • Expand the game world and storylines for longer, richer playthroughs.
  • Improve AI responses to be more nuanced and emotionally aware.
  • Add multiplayer or co-op mechanics where multiple players can interact with AI NPCs simultaneously.

Built With

Share this project:

Updates