Upload 11 files
Browse files- 600 (11).webp +0 -0
- 600 (12).webp +0 -0
- 600 (13).webp +0 -0
- 600 (14).webp +0 -0
- Eyes.webp +0 -0
- FromExtractionToProduction.xlsx +0 -0
- GameInterface.tsx.txt +60 -0
- Internet_20240826_150957_19.webp +0 -0
- QuantumTimeMachineUI.tsx.txt +90 -0
- debug_log_file.txt +0 -0
- magical_ui_design.png +0 -0
600 (11).webp
ADDED
600 (12).webp
ADDED
600 (13).webp
ADDED
600 (14).webp
ADDED
Eyes.webp
ADDED
FromExtractionToProduction.xlsx
ADDED
Binary file (485 kB). View file
|
|
GameInterface.tsx.txt
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { useState } from 'react'
|
2 |
+
import { Button } from "@/components/ui/button"
|
3 |
+
import { Progress } from "@/components/ui/progress"
|
4 |
+
import { ScrollArea } from "@/components/ui/scroll-area"
|
5 |
+
|
6 |
+
export default function Component() {
|
7 |
+
const [position, setPosition] = useState(50)
|
8 |
+
const [inventory, setInventory] = useState<string[]>([])
|
9 |
+
const [currentObjective, setCurrentObjective] = useState("Explore the Enchanted Forest")
|
10 |
+
|
11 |
+
const moveCharacter = (direction: 'left' | 'right') => {
|
12 |
+
setPosition(prev => Math.max(0, Math.min(100, prev + (direction === 'left' ? -10 : 10))))
|
13 |
+
}
|
14 |
+
|
15 |
+
const gatherIngredient = () => {
|
16 |
+
const ingredients = ['Moonflower', 'Stardust', 'Dragon Scale', 'Phoenix Feather', 'Mermaid Tear']
|
17 |
+
const newIngredient = ingredients[Math.floor(Math.random() * ingredients.length)]
|
18 |
+
setInventory(prev => [...prev, newIngredient])
|
19 |
+
}
|
20 |
+
|
21 |
+
return (
|
22 |
+
<div className="w-full max-w-4xl mx-auto p-4 bg-gradient-to-b from-purple-600 to-blue-800 rounded-lg shadow-lg">
|
23 |
+
<h1 className="text-2xl font-bold text-white mb-4">Mystic Realms: The Alchemist's Journey</h1>
|
24 |
+
|
25 |
+
{/* Game Area */}
|
26 |
+
<div className="relative h-60 bg-gradient-to-r from-green-400 to-blue-500 rounded-lg mb-4 overflow-hidden">
|
27 |
+
<div
|
28 |
+
className="absolute bottom-0 w-10 h-20 bg-red-500"
|
29 |
+
style={{ left: `${position}%`, transition: 'left 0.3s ease-out' }}
|
30 |
+
/>
|
31 |
+
</div>
|
32 |
+
|
33 |
+
{/* Controls */}
|
34 |
+
<div className="flex justify-center space-x-4 mb-4">
|
35 |
+
<Button onClick={() => moveCharacter('left')}>Move Left</Button>
|
36 |
+
<Button onClick={gatherIngredient}>Gather Ingredient</Button>
|
37 |
+
<Button onClick={() => moveCharacter('right')}>Move Right</Button>
|
38 |
+
</div>
|
39 |
+
|
40 |
+
{/* Inventory */}
|
41 |
+
<div className="bg-white bg-opacity-20 rounded-lg p-4 mb-4">
|
42 |
+
<h2 className="text-xl font-semibold text-white mb-2">Inventory</h2>
|
43 |
+
<ScrollArea className="h-20">
|
44 |
+
<ul className="space-y-1">
|
45 |
+
{inventory.map((item, index) => (
|
46 |
+
<li key={index} className="text-white">{item}</li>
|
47 |
+
))}
|
48 |
+
</ul>
|
49 |
+
</ScrollArea>
|
50 |
+
</div>
|
51 |
+
|
52 |
+
{/* Objective */}
|
53 |
+
<div className="bg-white bg-opacity-20 rounded-lg p-4">
|
54 |
+
<h2 className="text-xl font-semibold text-white mb-2">Current Objective</h2>
|
55 |
+
<p className="text-white">{currentObjective}</p>
|
56 |
+
<Progress value={33} className="mt-2" />
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
)
|
60 |
+
}
|
Internet_20240826_150957_19.webp
ADDED
QuantumTimeMachineUI.tsx.txt
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React, { useState, useEffect } from 'react'
|
2 |
+
import { Button } from "@/components/ui/button"
|
3 |
+
import { Slider } from "@/components/ui/slider"
|
4 |
+
import { Progress } from "@/components/ui/progress"
|
5 |
+
import { ChevronsUpDown, Zap, RefreshCw } from "lucide-react"
|
6 |
+
|
7 |
+
export default function Component() {
|
8 |
+
const [energy, setEnergy] = useState(50)
|
9 |
+
const [timeCoordinate, setTimeCoordinate] = useState(2023)
|
10 |
+
const [isActivated, setIsActivated] = useState(false)
|
11 |
+
const [stabilityLevel, setStabilityLevel] = useState(100)
|
12 |
+
|
13 |
+
useEffect(() => {
|
14 |
+
if (isActivated) {
|
15 |
+
const interval = setInterval(() => {
|
16 |
+
setStabilityLevel((prev) => Math.max(0, prev - Math.random() * 5))
|
17 |
+
}, 1000)
|
18 |
+
return () => clearInterval(interval)
|
19 |
+
}
|
20 |
+
}, [isActivated])
|
21 |
+
|
22 |
+
const handleActivate = () => {
|
23 |
+
setIsActivated(!isActivated)
|
24 |
+
if (!isActivated) {
|
25 |
+
setStabilityLevel(100)
|
26 |
+
}
|
27 |
+
}
|
28 |
+
|
29 |
+
return (
|
30 |
+
<div className="w-full max-w-4xl mx-auto p-6 bg-black rounded-xl shadow-2xl text-white">
|
31 |
+
<h2 className="text-3xl font-bold mb-6 text-center text-purple-400">Crystallized Quantum Physics Matrix Time Machine</h2>
|
32 |
+
|
33 |
+
<div className="grid grid-cols-2 gap-6 mb-6">
|
34 |
+
<div className="space-y-4">
|
35 |
+
<label className="block text-sm font-medium">Quantum Energy Level</label>
|
36 |
+
<Slider
|
37 |
+
value={[energy]}
|
38 |
+
onValueChange={(value) => setEnergy(value[0])}
|
39 |
+
max={100}
|
40 |
+
step={1}
|
41 |
+
/>
|
42 |
+
<div className="text-right">{energy}%</div>
|
43 |
+
</div>
|
44 |
+
|
45 |
+
<div className="space-y-4">
|
46 |
+
<label className="block text-sm font-medium">Time Coordinate</label>
|
47 |
+
<div className="flex items-center space-x-2">
|
48 |
+
<Button variant="outline" size="icon" onClick={() => setTimeCoordinate(prev => prev - 1)}>
|
49 |
+
<ChevronsUpDown className="h-4 w-4" />
|
50 |
+
</Button>
|
51 |
+
<input
|
52 |
+
type="number"
|
53 |
+
value={timeCoordinate}
|
54 |
+
onChange={(e) => setTimeCoordinate(parseInt(e.target.value))}
|
55 |
+
className="flex-1 bg-gray-800 text-white px-3 py-2 rounded-md"
|
56 |
+
/>
|
57 |
+
<Button variant="outline" size="icon" onClick={() => setTimeCoordinate(prev => prev + 1)}>
|
58 |
+
<ChevronsUpDown className="h-4 w-4 rotate-180" />
|
59 |
+
</Button>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
|
64 |
+
<div className="mb-6">
|
65 |
+
<label className="block text-sm font-medium mb-2">Matrix Stability</label>
|
66 |
+
<Progress value={stabilityLevel} className="h-2" />
|
67 |
+
<div className="text-right mt-1">{stabilityLevel.toFixed(2)}%</div>
|
68 |
+
</div>
|
69 |
+
|
70 |
+
<div className="flex justify-center space-x-4">
|
71 |
+
<Button
|
72 |
+
variant={isActivated ? "destructive" : "default"}
|
73 |
+
onClick={handleActivate}
|
74 |
+
className="w-40"
|
75 |
+
>
|
76 |
+
{isActivated ? "Deactivate" : "Activate"}
|
77 |
+
<Zap className="ml-2 h-4 w-4" />
|
78 |
+
</Button>
|
79 |
+
<Button variant="outline" onClick={() => setStabilityLevel(100)} disabled={!isActivated}>
|
80 |
+
Restabilize
|
81 |
+
<RefreshCw className="ml-2 h-4 w-4" />
|
82 |
+
</Button>
|
83 |
+
</div>
|
84 |
+
|
85 |
+
<div className="mt-6 text-center text-sm text-gray-400">
|
86 |
+
Warning: Temporal paradoxes may occur. Use at your own risk.
|
87 |
+
</div>
|
88 |
+
</div>
|
89 |
+
)
|
90 |
+
}
|
debug_log_file.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
magical_ui_design.png
ADDED