Work

NeoQuest II RPG

OpenAI API
Combat Engine
Proxy Server

A reimagination of the NeoQuest II RPG originally found on the NeoPets.com website, built from the ground up in Python using the basic TKinter GUI.

A screenshot of the character Rohane walking through Meridell village.

(Check the “NeoQuest II” repository on my GitHub linked in the header to see game files)

An Old Game With New Tricks

What happens when you integrate a childhood favorite with modern AI?

NeoQuest II is a classic turn-based browser RPG on NeoPets.com where players guide a young Blumaroo named Rohane on an exciting adventure, leveling up and picking up new party members along the way.

I took on the personal challenge of rebuilding the game from scratch with modern tools—adding one major twist to dramatically elevate its immersion.

Building the Basics

Unlike the original browser game—which required a full page reload after every single step—my Python rebuild runs smoothly in real time and adds quality-of-life support for both WASD and arrow-key movement.

The combat is a visual upgrade from the original version, including simple attack and damage animations, optional healthbars and status indicators, and various action options on each player character’s turn.

Screenshot of combat in NeoQuest II

The Modern Twist

What truly makes this rebuild feel modern and immersive is its OpenAI integration, which transforms static NPCs into dynamic characters capable of natural, context-aware conversations. Each NPC is built with a distinct backstory, personality, and persistent memory—allowing them to recall past interactions, offer tailored gameplay tips, and drop subtle lore hints when a player isn’t sure where to go next.

Screenshot of a conversation with an NPC

Because the connection to OpenAI’s language model is handled by a proxy server I configured, I can allow users to download the game as an executable package without worrying about any API secret keys being harvested for unintended use.

Code snippet routing OpenAI requests through a proxy:

PROXY_URL = "https://sdlstreider-neoquest-ii-proxy-server.hf.space/npc-chat"

try:
  greeting = requests.post(PROXY_URL, json=payload)

  # Check if the request was successful before proceeding to parse the response
  # from the proxy server
  if greeting.status_code == 200:
    reply = greeting.json().get("reply")
    # Add the NPC's reply to history so it remembers what it said
    npc["chat_history"].append({"role": "assistant", "content": reply})
    return reply
  else:
    # This will print the HTML/Text error from the proxy server
    return f"Server Error {greeting.status_code}: {greeting.text}"
      
except Exception as e:
  return f"Request failed: {e}"

Future Development

While I do not intend to really publish or monetize this game rebuild since it’s only a passion project, I still intend to finalize a few more things to make it truly playable:

  • Flesh out the combat, designing each player character’s abilities and rolling that into the combat engine.
  • Add a few finishing touches to the UI and allow for game save states.
  • Design level-up functionality, allowing players to view character stat increases and select new abilities to unlock.