Build Phantasy Codex Adventure, a compact top-down action RPG inspired by Game Boy Color games such as Final Fantasy Adventure and Sword of Mana.
The player should explore a procedurally generated world, move with the keyboard, and attack using a sword, spear, or wand. Monsters should continuously populate the world, with both passive creatures that retaliate when attacked and aggressive enemies that engage automatically.
Add health, stamina, and XP progression; playful damage and reward feedback; level-up choices; weapon improvements; and a character sheet showing the current build and stats.
Use a colorful 2D retro style with modern polish and satisfying reward presentation. Generate the necessary player, monster, weapon, environment, and UI artwork with image generation.
Add a shared leaderboard through ChatGPT Sites. When a run ends, publish the player's level and total XP.
Set an ongoing goal from these requirements, make creative decisions where needed, and iterate until the game is polished, validated, and ready to publish.