I will check the existing structure of the Vite + React project to prepare for building the interactive Minecraft Jinro (マイクラ人狼) introduction and guide web application.
I will read package.json to see existing dependencies and UI libraries.
I will install lucide-react for visual icons representing Minecraft items and roles, and canvas-confetti (with types) for celebration effects in quizzes and simulations.
I will read index.html to update the title and include fun styling elements for the Minecraft Werewolf experience.
I will update index.html with Japanese language settings, Google Fonts (Zen Maru Gothic and DotGothic16 for that retro Minecraft vibe), and an exciting title and favicon icon.
I will check src/index.css to inspect how Tailwind CSS is loaded and add custom animations and theme variables.
I will update src/index.css to add custom styles, glowing faction effects, floating animation, and day/night atmospheric background classes.
I will create src/types.ts to define TypeScript interfaces for the roles, factions, shop items, atmosphere modes, and quiz data.
I will create a lightweight browser synthesizer utility using the Web Audio API (src/utils/sound.ts) so users can hear custom sound effects when testing magical wands, curse spells, shop purchases, and alarms without requiring external sound files.
I will create src/data/gameData.ts containing the game data, tactical advice, lore, role statistics, shop inventory, curse simulation scenarios, and quizzes.
I will create src/components/Header.tsx featuring navigation links, a sound toggle, and an interactive "Atmosphere Switcher" allowing users to feel the difference between Daylight, Normal Night, Red Night, and Harvest Night right on the webpage.
I will create src/components/Hero.tsx featuring an interactive magic wand test button, atmospheric lighting, and high-impact game concept highlights.
I will create src/components/FactionsSection.tsx to detail the Three Warring Factions, their unique victory conditions, and tactical comparison cards.
I will create src/components/RoleGuide.tsx to provide an interactive character role guidebook with filter tabs, wand abilities, difficulty stars, and tactical advice for all 9 roles.
I will create src/components/CurseSimulator.tsx to provide an intuitive, interactive simulation playground for understanding the stealthy curse mechanic and the dangerous shared fate system.
I will create src/components/DayNightSection.tsx detailing the Day/Night cycle, the rules of Red Night and Harvest Night, and the Meeting and Voting procedures.
I will create src/components/ShopSection.tsx featuring an interactive catalog of all 10 emerald shop items and a customized tactical loadout simulator.
I will fix the TypeScript lint error in src/components/ShopSection.tsx by actively utilizing the hasDefense variable in the tactical loadout analysis logic.
I will create src/components/RoleQuiz.tsx offering a 3-question Diagnostic Test to find the player's ideal role and a 4-question Rules Mastery Quiz with instant feedback and celebration confetti.
I will create src/components/Footer.tsx with summary notes, navigation links, and a back-to-top button.
I will update src/App.tsx to combine the Header, Hero, FactionsSection, RoleGuide, CurseSimulator, DayNightSection, ShopSection, RoleQuiz, and Footer components into a unified interactive web application with reactive day/night theme states.
I will run build_project to test the build and ensure that all TypeScript components and dependencies compile without any syntax or bundling errors.
「🐺 マイクラ人狼 (Minecraft Jinro)」 の魅力や複雑なゲームシステムを楽しく学べる解説・紹介Webサイトを作成しました!
✨ 作成した主な機能・セクション一覧
-
🎮 どんなゲーム? (ゲームの概要 & インタラクティブ魔法杖体験)
- 「会話・観察・推理・演技」の4大要素をビジュアル化。
- **🪄 「魔法の杖を【右クリック】で発動!」**体験ボタン:クリックすると軽快な効果音とともに、役職ごとの発動ログやスキルシミュレートをお試しになれます。
-
🌌 天候&時系列テーマ切り替え (アトモスフィア・スイッチャー)
- ヘッダーバーの切り替えボタンから、サイト全体の雰囲気を 「☀️ 昼の空」「🌙 通常の夜」「🩸 赤い夜」「🌾 収穫の夜」 へリアルタイムに切り替え可能!
- 「🩸 赤い夜」や「🌾 収穫の夜」にすると、画面上部に緊急注意・ボーナス予告バナーが自動的に表示されます。
-
🏆 3大陣営 & 勝利条件徹底解剖
- 🟢 村人陣営:人狼と呪術師を全員排除する。
- 🔴 人狼陣営:村人陣営・呪術師陣営を全滅させる。
- 🟣 呪術師陣営:生存者の半分以上を呪術師陣営にする、または単独生存。
- 「ゲーム終了後には全員の役職が公開される!」 という感想戦の楽しさも強調しています。
-
👤 役職図鑑 (全9種カードデッキ & 陣営フィルター)
- 🧑🌾 村人・🔮 占い師・🛡️ 騎士・✨ 魔法使い・🐺 人狼・🃏 狂人・🌀 トリックスター・🕯️ 呪術師・🧙 霊媒師 を完全収録。
- 陣営ごとのフィルター表示や名称検索、難易度(★数)、クリックで開く**「💡 おすすめ戦略」と「⚠️ 注意するべき弱点」**を網羅。
- ※「使用される役職は設定によって変わります」の案内も記載しています。
-
👻 「呪い」と運命共同体 インタラクティブシミュレーター
- 初心者につまずきやすい「呪い」の仕組みを実験できる体験場!
- 実験例1: 呪われたプレイヤーが会議で怪しい人へ『投票』をしてみる ➡ 【結果】投票しているように見えても、票は1票も集計されない(無効化)!
- 実験例2: 呪われたプレイヤーが人狼に襲われ死亡する ➡ 【結果】運命共同体の効果で離れた場所にいる「呪術師」も連鎖で即死💀!
- 実験例3: 会議で呪術師を追放する ➡ 【結果】親玉の死により、呪撃が解けて洗脳されていたプレイヤーが元の村人陣営に完全復活 🎉!
-
🌅 昼夜進行&「特殊な夜」・追放会議ルール
- 🩸 赤い夜:空が真紅に染まる。**「死体報告も、ショップの会議ボタンも両方完全無効」**になり会議が開けないルールを徹底図解。
- 🌾 収穫の夜:通常のゾンビに加え**「金持ちゾンビ」**が1体出現!倒せばエメラルド大量獲得。
- 死体の1回限り報告や、最多票とスキップ・同票時の挙動をわかりやすく解説。
-
💰 エメラルドショップカタログ & 戦術ビルドプランナー (お買い物シミュレーター)
- 🍞 パン / 🗡️ 普通・いい剣 / 🧟 ゾンビソード / 💓 心電図 / 🛡️ バリア / 🫥 透明化 / 💨 速度上昇 / 🌫️ 視界を狭くする霧(※人狼・トリックスターのみ効果を受けずクリア視界)/ ✨ 全員位置表示 / 🔔 会議ボタン の全10アイテムを掲載。
- 「+カートに追加」を押すことで、自分だけの理想武装ロードアウトを作成し、消費エメラルド計算とAIアナリストによる戦略アドバイスが表示されます。
-
❓ プレイスタイル役職診断 & ルール知識検定クイズ
- 🔮 あなたの適性役職診断(全3問):性格や考え方を選んでいくと、あなたにぴったりの役職とお祝いの紙吹雪アニメーションが飛び出します!
- 🎮 知識検定(全4問):赤い夜のルールや呪い・魔法使いのペナルティ等を確認できるミニテスト。
(また、Web Audio APIによる効果音ジェネレーターを内蔵しており、効果音ボタン(🔊/🔇)でON/OFFしながらインタラクティブにお楽しみいただけます!)
Files built: index.html, src/index.css, src/types.ts, src/utils/sound.ts, src/data/gameData.ts, src/components/Header.tsx, src/components/Hero.tsx, src/components/FactionsSection.tsx, src/components/RoleGuide.tsx, src/components/CurseSimulator.tsx, src/components/DayNightSection.tsx, src/components/ShopSection.tsx, src/components/RoleQuiz.tsx, src/components/Footer.tsx, src/App.tsx