I will examine the project structure to see what files and dependencies we have available.
I will check package.json to see the existing installed packages and determine if we need any additional dependencies like lucide-react, framer-motion, or canvas-confetti.
I will install lucide-react for rich icons for our paranormal apparatus, ghost indicators, and investigation tools.
I will check index.html to update the page title and ensure any helpful CSS setup for atmospheric font or styling.
I will read src/index.css to see how Tailwind is configured and add custom animations for flickering needles, CRT/VHS effects, heartbeat pulse, eerie glowing fog, and ghost floating animations.
I will update index.html with an appropriate title and atmospheric Google fonts (Cinzel Decorative for Victorian gothic text, Share Tech Mono for the PKE/EMF meter readings, and Creepster for spooky titles).
I will update src/index.css with custom animations for the flickering EMF needle, floating ghosts, CRT/night vision scanlines, lightning flashes, creeping fog, and custom typography.
I will create src/types/paranormal.ts defining all our data models for rooms, ghost entities, evidence items, cursed relics, and investigation state.
I will create src/data/manorData.ts with detailed data for our multi-story Victorian Gothic mansion (Ravenswood Manor), its rooms, ghost lore, evidence types, and cursed relics.
I will create src/utils/audioSystem.ts using Web Audio API to generate synthesized paranormal audio effects, including geiger/EMF ticking, spirit box white-noise sweeps, heartbeats, ambient background drones, and synthesized EVP ghost voices.
I will create src/components/NavigationHeader.tsx to handle visual atmosphere switching (Night Vision, Spirit Camera, Candlelight), sanity monitoring with heartbeat warnings, sound controls, and quick navigation to the Seance Board, Relic Cabinet, and Investigation Logbook.
I will create src/components/InteractiveMap.tsx providing an interactive Victorian blueprint floor plan where users can switch floors, see real-time EMF/temperature anomalies on the map, and click any room to travel there or inspect its layout.
I will update src/components/InteractiveMap.tsx to utilize Sparkles and discoveredRelicIds to show which rooms contain discovered or undiscovered relics.
I will render the Sparkles badge inside the blueprint room boxes and list when a relic is present or discovered.
I will create src/components/ParanormalMeter.tsx featuring the analog flickering needle gauge, 5-LED K-II warning bar, digital temperature display, and interactive Spirit Box EVP scanner.
I will update src/components/ParanormalMeter.tsx to resolve unused variables and make use of the active tool indicator and audio status warning.
I will update src/components/ParanormalMeter.tsx to integrate activeTool, isAudioMuted, dowsingActivity, and question into the display and spectrum visualizer.
I will update the canvas spectrum loop and meter header in src/components/ParanormalMeter.tsx to properly utilize dowsingActivity, activeTool, onSelectTool, isAudioMuted, and question.
I will update the apparatus header and panels in src/components/ParanormalMeter.tsx to display active tool highlights and audio mute warnings.
I will create src/components/EquipmentBar.tsx allowing investigators to equip and use investigative gear (Flashlight, EMF Reader, Spirit Box, Thermal Scanner, Spirit Camera, Salt Rings, Holy Water, and EMP Pulse).
I will create src/components/InvestigationJournal.tsx allowing investigators to record evidence, cross-reference possible ghost types, read detailed entity dossiers, and submit a final diagnosis/exorcism attempt.
I will create src/components/RelicCabinetModal.tsx to display discovered cursed relics and allow investigators to activate their supernatural effects.
I will create src/components/SeanceBoardModal.tsx to provide an interactive Ouija / Spirit Board tool where the planchette slides letter by letter across the wooden board to spell out spirit messages.
I will remove the unused Sparkles import in src/components/SeanceBoardModal.tsx.
I will create src/components/RoomView.tsx featuring visual filters (Night Vision scanlines, Spirit Camera, Candlelight), interactive room inspectables, doors, cursed relics, and animated ghost apparitions with equipment counter-measures.
I will remove the unused CloudRain and Flame imports in src/components/RoomView.tsx.
I will read src/App.tsx to inspect the entry point before replacing it with our full implementation.
I will create src/App.tsx uniting the clickable room map, animated ghost apparitions, paranormal PKE apparatus with flickering needle gauge, equipment belt, logbook, and sound synthesizer.
I will update src/App.tsx to utilize msg when activating relic powers so that the investigator receives immediate feedback.
I will now build the project using build_project to verify that there are no compilation or bundling errors.
I have created Ravenswood Manor, an interactive, gamified Haunted House Explorer & Paranormal Investigation Web Application complete with a clickable room map, animated ghost apparitions, an analog flickering needle gauge, and synthesized audio effects.
✨ Key Features Included:
1. 🧭 Clickable Victorian Blueprint Floor Plan (InteractiveMap)
- Multi-Story Survey: Switch between Attic (+32 ft), Second Floor (+16 ft), Ground Floor (0 ft), and the Subterranean Basement & Crypt (-14 ft).
- Real-Time Anomaly Indicators: Rooms glow red when high electromagnetic resonance or spectral entities manifest inside. Displays exact coordinates, inspectable spot counts, and baseline temperatures per room. Click any room to immediately travel there.
2. 👻 Animated Ghost Apparitions & Counter-Measures (RoomView)
- 8 Unique Occult Entities: Encounter Lady Eleanor (The Lady in White), Lord Cornelius (Vengeful Poltergeist), Little Clara (The Abandoned Doll), Father Bartholomew (Abyssal Shadow Monk), Julian the Phantom Organist, Evangeline the Banshee, Madame Vane (The Mirror Entity), and The Blackwood Hound.
- Dynamic Manifestations: When provoked or triggered by low sanity, spirits manifest in the room with floating, pulsating, or jittering apparitions accompanied by panic heartbeats and EVP voice threats.
- Counter-Measure Combat: Wield equipped items against the entity's primary weakness (
Halogen Flashlight, Holy Water Splash, EMP Pulse Discharge, Rock Salt Rings, or Spirit Camera Shutter) to banish them and recover investigator sanity.
3. 🎛️ Paranormal Field Apparatus (Model PKE-V4) (ParanormalMeter)
- Analog Flickering Needle EMF Gauge: Semi-circular dial with dynamic needle deflection and danger zones (
Level 1 through RED Level 5 Warning >20mG) coupled with a K-II style 5-LED warning bar and geiger ticking clicks.
- Thermal Sensor & Freezing Breath: Real-time thermometer readout that drops below
0.0°C near certain ghosts, warning when freezing breath vapor is visible.
- Interactive Spirit Box Radio Tuner: Sweep frequencies (
87.5 MHz to 108.0 MHz) and trigger white-noise questions ("Is anyone here with us?", "What do you want?", "Show yourself!", "How did you die?") to receive synthesized EVP voice responses.
- Kinetic / Dowsing Spectrum Canvas: Live animated sine-wave canvas that spikes violently when kinetic activity or dowsing movement is detected.
4. 🔦 Spooky Visual Modes & Web Audio API Sound Synthesizer
- Atmospheric Filters:
- Normal: Dark gothic lighting with interactive Flashlight halo following the cursor.
- Night Vision (
Eye): Phosphor green CRT sepia tint with horizontal scanlines and floating ectoplasmic Spectral Orbs.
- Spirit Camera (
Sparkles): High-contrast thermal cyan filter revealing hidden sigils and ghostly silhouettes during photo captures.
- Candlelight (
Flame): Flickering warm amber halo around your position.
- Lightning Storms: Periodic thunderous flashes illuminating hidden room details.
- Zero-Dependency Web Audio Synthesizer: Generates geiger/EMF ticking, spirit box frequency sweeps, double-pulse heartbeats, floorboard creaks, thunder rumbles, and synthesized EVP alien frequency sweeps directly in your browser.
5. 📖 Investigation Logbook, Seance Board & Relics Cabinet
- Phasmophobia/Ghost Hunters Elimination Engine: Check off confirmed evidence (
EMF Level 5, Freezing Temp, Spirit Box Response, Ghost Orbs, Ghost Writing, Dowsing Movement, Spirit Photo) to automatically eliminate impossible entities and identify the exact spirit.
- Exorcism & Final Diagnosis Box: Submit your diagnosis to attempt an exorcism and seal the entity.
- Haunted Relic Cabinet: Discover and inspect 6 hidden cursed artifacts (Clara's Winding Music Box, Cornelius' Grimoire of Souls, Cursed Hand Mirror, Obsidian Bone Key, Master's Rosewood Planchette, and Eleanor's Sapphire Locket).
- Seance Spirit Board (Ouija): Ask questions and watch the carved rosewood planchette slide letter by letter across the wooden alphabet board while spelling out answers from the dead!
Files built: index.html, src/index.css, src/types/paranormal.ts, src/data/manorData.ts, src/utils/audioSystem.ts, src/components/NavigationHeader.tsx, src/components/InteractiveMap.tsx, src/components/ParanormalMeter.tsx, src/components/EquipmentBar.tsx, src/components/InvestigationJournal.tsx, src/components/RelicCabinetModal.tsx, src/components/SeanceBoardModal.tsx, src/components/RoomView.tsx, src/App.tsx