Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>LoreMaster RPG Creator</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| 500: '#6366f1', | |
| }, | |
| secondary: { | |
| 500: '#ec4899', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| </head> | |
| <body class="bg-gray-100 min-h-screen"> | |
| <custom-navbar></custom-navbar> | |
| <main class="container mx-auto px-4 py-8"> | |
| <div class="max-w-4xl mx-auto"> | |
| <!-- Game Type Selection --> | |
| <section class="mb-12 bg-white rounded-xl shadow-lg p-6"> | |
| <h2 class="text-2xl font-bold text-primary-500 mb-4"> | |
| <i data-feather="compass" class="inline mr-2"></i> | |
| Choose Your Game Type | |
| </h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <div class="bg-gray-50 p-4 rounded-lg border border-gray-200 hover:border-primary-300 transition cursor-pointer"> | |
| <i data-feather="sword" class="text-secondary-500 w-8 h-8 mb-2"></i> | |
| <h3 class="font-semibold text-lg">Adventure</h3> | |
| <p class="text-gray-600 text-sm">Epic quests and heroic journeys</p> | |
| </div> | |
| <div class="bg-gray-50 p-4 rounded-lg border border-gray-200 hover:border-primary-300 transition cursor-pointer"> | |
| <i data-feather="shield" class="text-secondary-500 w-8 h-8 mb-2"></i> | |
| <h3 class="font-semibold text-lg">Tactical</h3> | |
| <p class="text-gray-600 text-sm">Strategic combat and positioning</p> | |
| </div> | |
| <div class="bg-gray-50 p-4 rounded-lg border border-gray-200 hover:border-primary-300 transition cursor-pointer"> | |
| <i data-feather="eye" class="text-secondary-500 w-8 h-8 mb-2"></i> | |
| <h3 class="font-semibold text-lg">Horror</h3> | |
| <p class="text-gray-600 text-sm">Dark mysteries and survival</p> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Lore Creation --> | |
| <section class="mb-12 bg-white rounded-xl shadow-lg p-6"> | |
| <h2 class="text-2xl font-bold text-primary-500 mb-4"> | |
| <i data-feather="book-open" class="inline mr-2"></i> | |
| Craft Your Lore | |
| </h2> | |
| <div class="space-y-4"> | |
| <div class="flex items-center space-x-4 mb-4"> | |
| <label class="relative cursor-pointer bg-gray-100 hover:bg-gray-200 px-4 py-2 rounded-lg transition"> | |
| <span class="flex items-center"> | |
| <i data-feather="upload" class="mr-2 w-4 h-4"></i> | |
| Upload Lore File | |
| </span> | |
| <input type="file" id="lore-upload" accept=".json,.txt,.md" class="hidden"> | |
| </label> | |
| <span class="text-sm text-gray-500">or create manually below</span> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">World Name</label> | |
| <input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500"> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Background Story</label> | |
| <textarea rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500"></textarea> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Major Factions</label> | |
| <input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500"> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Races --> | |
| <section class="mb-12 bg-white rounded-xl shadow-lg p-6"> | |
| <h2 class="text-2xl font-bold text-primary-500 mb-4"> | |
| <i data-feather="users" class="inline mr-2"></i> | |
| Define Races | |
| </h2> | |
| <div class="flex items-center space-x-4 mb-4"> | |
| <label class="relative cursor-pointer bg-gray-100 hover:bg-gray-200 px-4 py-2 rounded-lg transition"> | |
| <span class="flex items-center"> | |
| <i data-feather="upload" class="mr-2 w-4 h-4"></i> | |
| Upload Races File | |
| </span> | |
| <input type="file" id="races-upload" accept=".doc,.docx,.json,.txt" class="hidden"> | |
| </label> | |
| <span class="text-sm text-gray-500">or create manually below</span> | |
| </div> | |
| <div id="races-container"> | |
| <!-- Races will be added here --> | |
| </div> | |
| <button id="add-race-btn" class="mt-4 flex items-center text-secondary-500 font-medium hover:text-secondary-600"> | |
| <i data-feather="plus" class="mr-2"></i> Add New Race | |
| </button> | |
| </section> | |
| <!-- Character Classes --> | |
| <section class="mb-12 bg-white rounded-xl shadow-lg p-6"> | |
| <h2 class="text-2xl font-bold text-primary-500 mb-4"> | |
| <i data-feather="users" class="inline mr-2"></i> | |
| Design Character Classes | |
| </h2> | |
| <div class="flex items-center space-x-4 mb-4"> | |
| <label class="relative cursor-pointer bg-gray-100 hover:bg-gray-200 px-4 py-2 rounded-lg transition"> | |
| <span class="flex items-center"> | |
| <i data-feather="upload" class="mr-2 w-4 h-4"></i> | |
| Upload Classes File | |
| </span> | |
| <input type="file" id="classes-upload" accept=".json,.txt,.md" class="hidden"> | |
| </label> | |
| <span class="text-sm text-gray-500">or create manually below</span> | |
| </div> | |
| <div id="classes-container"> | |
| <!-- Classes will be added here --> | |
| </div> | |
| <button id="add-class-btn" class="mt-4 flex items-center text-secondary-500 font-medium hover:text-secondary-600"> | |
| <i data-feather="plus" class="mr-2"></i> Add New Class | |
| </button> | |
| </section> | |
| <!-- Game Settings --> | |
| <section class="bg-white rounded-xl shadow-lg p-6"> | |
| <h2 class="text-2xl font-bold text-primary-500 mb-4"> | |
| <i data-feather="settings" class="inline mr-2"></i> | |
| Game Settings | |
| </h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Expected Session Length</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500"> | |
| <option>2 hours</option> | |
| <option>3 hours</option> | |
| <option>4 hours</option> | |
| <option>6+ hours</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Game Difficulty</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500"> | |
| <option>Casual</option> | |
| <option>Standard</option> | |
| <option>Challenging</option> | |
| <option>Hardcore</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Player Count</label> | |
| <input type="number" min="1" max="8" value="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500"> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Experience System</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500"> | |
| <option>Milestone</option> | |
| <option>XP Based</option> | |
| <option>Hybrid</option> | |
| </select> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Generate Button --> | |
| <div class="mt-8 text-center"> | |
| <button class="bg-primary-500 hover:bg-primary-600 text-white font-bold py-3 px-8 rounded-full shadow-lg transition transform hover:scale-105"> | |
| <i data-feather="download" class="inline mr-2"></i> Download RPG Settings | |
| </button> | |
| </div> | |
| </div> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="script.js"></script> | |
| <script>feather.replace();</script> | |
| <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> | |
| </body> | |
| </html> |