Castle Craft - Mystical Adventure Puzzle Game

Seele01-Flash
By
Castle Craft is a captivating merge puzzle adventure where you help farmer Fiona find her missing husband Michael while building a mystical kingdom. Combine resources, unlock hidden territories, and uncover ancient mysteries in this free-to-play browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Castle Craft". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 3D Low-poly Isometric style with vibrant, saturated colors similar to casual mobile strategy games. The look should be "chunky" and cute. * **Camera:** Use an `OrthographicCamera` positioned at a fixed isometric angle (e.g., 45 degrees) to simulate a 2.5D view. Implement smooth pinch-to-zoom and pan limits. * **Grid System:** Create a visible 10x10 tile grid as the base. * **Ground:** Checkerboard pattern of light green and medium green tiles. * **Fog of War:** Render "locked" areas with thick, white/grey volumetric fog or cloud meshes that obscure the tiles until unlocked. * **Models (Primitives/Low-poly):** * **Resources:** Wheat Sprouts (small green cylinders), Full Wheat (yellow clusters), Logs (brown cylinders), Stone (grey rocks). * **Structures:** Wooden Cabin (brown box with triangular roof), Castle (grey towers with blue flags). * **Characters (Simplified):** A simple capsule mesh representing Fiona (the player avatar/cursor). * **VFX:** Simple particle explosion (confetti or stars) using `THREE.Points` when items successfully merge. * **Optimization:** Use `InstancedMesh` for repeated ground tiles and decorative grass to ensure 60FPS on mobile devices. ### 2. Audio Requirements * **BGM:** A looping, tranquil, medieval-fantasy acoustic track (harp, flute, and light percussion) that evokes a sense of peaceful farming and building. * **Sound Effects (SFX):** * **Merge:** A satisfying "pop" or rising major-chord chime when 3 items combine. * **Placement:** A soft wooden "thud" when dropping an item on the grid. * **Error:** A dull "buzzer" sound if trying to merge incompatible items or place in a locked zone. * **Harvest:** A "rustling leaves" sound when collecting wheat. ### 3. Gameplay Loop * **Merge Mechanic:** The core loop involves dragging and dropping items. * **Rule:** When 3 identical items are placed adjacent to each other (horizontally or vertically), they disappear and are replaced by 1 higher-tier item at the drop location. * **Evolution Chain:** Wheat Sprout -> Wheat Crop -> Bundle of Wheat. (Separate chain: Log -> Wood Plank -> Cabin -> Castle). * **Farming & Harvesting:** Wheat crops generate automatically on empty tiles every few seconds. Players tap/click "Full Wheat" to harvest it, adding to a "Keys" resource counter. * **Progression:** * Accumulate "Keys" to clear the "Fog of War." * Unlocking a fog tile requires X amount of Keys. * Unlocking reveals new resources (like Logs) or chest rewards. * **Win Condition:** Build the Ultimate Castle (Tier 5 structure). ### 4. Mobile Controls & Interaction * **Touch Input System:** * Implement `Raycaster` for all interactions to map 2D screen touches to 3D grid coordinates. * **Drag & Drop:** * **TouchStart:** Lift object (scale up 1.2x, add shadow offset). * **TouchMove:** Object follows finger/cursor, snapping to the nearest grid center visually. * **TouchEnd:** Place object. If valid merge, trigger merge; if invalid placement (occupied tile), snap back to original position. * **Orientation:** Force **Landscape** mode for better visibility of the isometric map. * **UI Layout:** * Top Left: Resource Counter (Keys/Gold) with large, readable text. * Bottom Right: Contextual Action Button (e.g., "Unlock Fog") - Minimum touch target size 48x48px. * **Haptic Feedback:** Trigger `navigator.vibrate(50)` on a successful merge to provide tactile gratification. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Castle Craft

Castle Craft is an enchanting merge puzzle adventure that combines strategic resource management with compelling storytelling. Players join Fiona, a determined farmer, on her heartfelt quest to reunite with her mysteriously missing husband Michael. What starts as a simple garden restoration evolves into an epic journey through fog-covered lands, ancient realms, and medieval kingdoms.

This free-to-play browser game seamlessly blends match-3 mechanics with farming simulation and castle building elements. With its mystical atmosphere and engaging storyline, Castle Craft offers hours of immersive gameplay without requiring any downloads or installations.

Core Features

Innovative Merge Mechanics

The game's unique merging system allows you to combine three identical items to create more valuable resources. Start by merging wheat sprouts to grow crops, then progress to combining logs, tools, and magical items. Each merge brings you closer to unlocking new areas and advancing the story.

Compelling Story Campaign

Follow Fiona's emotional journey as she searches for clues about Michael's disappearance. Discover his lost belongings, meet helpful characters like Aiden the woodsman, and piece together the mystery that spans different historical eras. The narrative unfolds naturally as you progress through the game.

Progressive Kingdom Building

Transform a simple garden into a thriving medieval kingdom . Build bustling marketplaces, construct grand castles, and create a flourishing civilization. Your decisions shape the world around you, making each playthrough unique and personally meaningful.

Mystical Exploration System

Use ancient keys earned through successful merging to dispel mysterious fog and reveal hidden territories. Each new area brings fresh challenges, unique resources, and deeper story elements that keep the adventure engaging.

Gameplay Mechanics

Resource Management

  • Wheat Farming : Grow and harvest crops to trade for mystical keys
  • Timber Collection : Work with Aiden to clear obstacles and gather wood
  • Crafting System : Merge logs and materials to create essential tools
  • Treasure Discovery : Open chests to find valuable items and helpful heroes

Strategic Elements

Success in Castle Craft requires careful planning and resource allocation . Players must balance immediate needs with long-term goals, deciding when to merge resources and when to save them for larger combinations. The fog-clearing mechanic adds strategic depth, as players must choose which areas to explore first.

Operation Guide

Basic Controls: - Mouse Drag : Click and drag to merge identical items - Point and Click : Interact with objects and navigate menus

Getting Started: 1. Begin by merging three wheat sprouts to create a full wheat crop 2. Harvest wheat to earn mystical keys 3. Use keys to dispel fog and unlock new territories 4. Open treasure chests for valuable rewards and character allies 5. Continue merging and exploring to progress the story

Pro Tips: - Plan your merges carefully - sometimes waiting for larger combinations yields better results - Explore thoroughly before moving to new areas - Pay attention to story clues that hint at optimal strategies - Balance resource collection with territorial expansion

Why Play Castle Craft

Castle Craft stands out in the crowded puzzle game market by offering:

  • Completely Free : Full game experience at no cost, playable directly in your browser
  • No Downloads Required : Instant access without installation or app store visits
  • Cross-Platform Compatible : Works perfectly on desktop computers, tablets, and smartphones
  • Engaging Storyline : Unlike typical merge games, Castle Craft features a compelling narrative with emotional depth
  • Progressive Difficulty : Gentle learning curve that gradually introduces new mechanics
  • Beautiful Art Style : Charming medieval-fantasy visuals that bring the world to life
  • Regular Content : Ongoing story development keeps the adventure fresh

Whether you're a puzzle game enthusiast or someone who enjoys story-driven adventures, Castle Craft offers the perfect blend of strategic thinking and emotional engagement . The game respects your time while providing substantial content that can be enjoyed in short sessions or extended play periods.

Frequently Asked Questions (FAQ)