Changes to xiuzhen.scroll.pub

root
root
22 days ago
Initial commit
body.html
Changed around line 1
+
+

修真对话养成游戏

+

踏上修真之路,与灵兽对话,提升修为,探索神秘世界。

+
+
+
+
+

欢迎来到修真世界!你准备好开始你的修真之旅了吗?

+
+
+
+
+
+
+
+

角色信息

+

修为:凡人

+

灵兽:

+
+
+
+

探索更多修真奥秘,提升你的修为!

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://xiuzhen.scroll.pub
+ metaTags
+ editButton /edit.html
+ title 修真对话养成游戏
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "5abeb8d9-9784-4bf8-ae11-0c682d31d235",
+ "object": "chat.completion",
+ "created": 1735631000,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nxiuzhen.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://xiuzhen.scroll.pub\nmetaTags\neditButton /edit.html\ntitle 修真对话养成游戏\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

修真对话养成游戏

\n

踏上修真之路,与灵兽对话,提升修为,探索神秘世界。

\n
\n
\n
\n
\n

欢迎来到修真世界!你准备好开始你的修真之旅了吗?

\n
\n
\n \n \n
\n
\n
\n

角色信息

\n

修为:凡人

\n

灵兽:

\n
\n
\n
\n

探索更多修真奥秘,提升你的修为!

\n
\n---style.css---\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n background-color: #f0f4f8;\n color: #333;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 100vh;\n}\n\nheader {\n text-align: center;\n padding: 2rem;\n background-color: #4a90e2;\n color: white;\n width: 100%;\n}\n\nheader h1 {\n margin: 0;\n font-size: 2.5rem;\n}\n\nheader p {\n margin: 0.5rem 0 0;\n font-size: 1.2rem;\n}\n\nmain {\n width: 90%;\n max-width: 800px;\n margin: 2rem auto;\n background-color: white;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n#dialogue-box {\n background-color: #e3f2fd;\n padding: 1.5rem;\n border-radius: 8px;\n margin-bottom: 1.5rem;\n}\n\n#dialogue-text {\n font-size: 1.1rem;\n line-height: 1.6;\n}\n\n#response-buttons {\n display: flex;\n gap: 1rem;\n justify-content: center;\n}\n\nbutton {\n background-color: #4a90e2;\n color: white;\n border: none;\n padding: 0.75rem 1.5rem;\n border-radius: 5px;\n cursor: pointer;\n font-size: 1rem;\n transition: background-color 0.3s ease;\n}\n\nbutton:hover {\n background-color: #357abd;\n}\n\n#character-info {\n margin-top: 2rem;\n text-align: center;\n}\n\n#character-info h2 {\n font-size: 1.5rem;\n margin-bottom: 1rem;\n}\n\n#character-info p {\n font-size: 1.1rem;\n margin: 0.5rem 0;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background-color: #4a90e2;\n color: white;\n width: 100%;\n margin-top: auto;\n}\n\nfooter p {\n margin: 0;\n font-size: 1rem;\n}\n\n@media (max-width: 600px) {\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1rem;\n }\n\n #dialogue-text {\n font-size: 1rem;\n }\n\n button {\n padding: 0.5rem 1rem;\n font-size: 0.9rem;\n }\n\n #character-info h2 {\n font-size: 1.3rem;\n }\n\n #character-info p {\n font-size: 1rem;\n }\n}\n---script.js---\nlet cultivationLevel = '凡人';\nlet spiritBeast = '无';\n\nfunction chooseResponse(response) {\n const dialogueText = document.getElementById('dialogue-text');\n const cultivationLevelSpan = document.getElementById('cultivation-level');\n const spiritBeastSpan = document.getElementById('spirit-beast');\n\n if (response === 1) {\n dialogueText.textContent = '你已踏上修真之路,努力修炼,提升修为吧!';\n cultivationLevel = '炼气期';\n cultivationLevelSpan.textContent = cultivationLevel;\n } else if (response === 2) {\n dialogueText.textContent = '修真世界充满神秘与挑战,与灵兽结伴,共同成长。';\n spiritBeast = '灵狐';\n spiritBeastSpan.textContent = spiritBeast;\n }\n}\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 244,
+ "completion_tokens": 1140,
+ "total_tokens": 1384,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 244
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # xiuzhen.scroll.pub
+ Website generated by DeepSeek from prompt: 我想创建一个中文版关于修真的对话养成游戏
script.js
Changed around line 1
+ let cultivationLevel = '凡人';
+ let spiritBeast = '无';
+
+ function chooseResponse(response) {
+ const dialogueText = document.getElementById('dialogue-text');
+ const cultivationLevelSpan = document.getElementById('cultivation-level');
+ const spiritBeastSpan = document.getElementById('spirit-beast');
+
+ if (response === 1) {
+ dialogueText.textContent = '你已踏上修真之路,努力修炼,提升修为吧!';
+ cultivationLevel = '炼气期';
+ cultivationLevelSpan.textContent = cultivationLevel;
+ } else if (response === 2) {
+ dialogueText.textContent = '修真世界充满神秘与挑战,与灵兽结伴,共同成长。';
+ spiritBeast = '灵狐';
+ spiritBeastSpan.textContent = spiritBeast;
+ }
+ }
style.css
Changed around line 1
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ background-color: #f0f4f8;
+ color: #333;
+ margin: 0;
+ padding: 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ min-height: 100vh;
+ }
+
+ header {
+ text-align: center;
+ padding: 2rem;
+ background-color: #4a90e2;
+ color: white;
+ width: 100%;
+ }
+
+ header h1 {
+ margin: 0;
+ font-size: 2.5rem;
+ }
+
+ header p {
+ margin: 0.5rem 0 0;
+ font-size: 1.2rem;
+ }
+
+ main {
+ width: 90%;
+ max-width: 800px;
+ margin: 2rem auto;
+ background-color: white;
+ padding: 2rem;
+ border-radius: 10px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ }
+
+ #dialogue-box {
+ background-color: #e3f2fd;
+ padding: 1.5rem;
+ border-radius: 8px;
+ margin-bottom: 1.5rem;
+ }
+
+ #dialogue-text {
+ font-size: 1.1rem;
+ line-height: 1.6;
+ }
+
+ #response-buttons {
+ display: flex;
+ gap: 1rem;
+ justify-content: center;
+ }
+
+ button {
+ background-color: #4a90e2;
+ color: white;
+ border: none;
+ padding: 0.75rem 1.5rem;
+ border-radius: 5px;
+ cursor: pointer;
+ font-size: 1rem;
+ transition: background-color 0.3s ease;
+ }
+
+ button:hover {
+ background-color: #357abd;
+ }
+
+ #character-info {
+ margin-top: 2rem;
+ text-align: center;
+ }
+
+ #character-info h2 {
+ font-size: 1.5rem;
+ margin-bottom: 1rem;
+ }
+
+ #character-info p {
+ font-size: 1.1rem;
+ margin: 0.5rem 0;
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ background-color: #4a90e2;
+ color: white;
+ width: 100%;
+ margin-top: auto;
+ }
+
+ footer p {
+ margin: 0;
+ font-size: 1rem;
+ }
+
+ @media (max-width: 600px) {
+ header h1 {
+ font-size: 2rem;
+ }
+
+ header p {
+ font-size: 1rem;
+ }
+
+ #dialogue-text {
+ font-size: 1rem;
+ }
+
+ button {
+ padding: 0.5rem 1rem;
+ font-size: 0.9rem;
+ }
+
+ #character-info h2 {
+ font-size: 1.3rem;
+ }
+
+ #character-info p {
+ font-size: 1rem;
+ }
+ }