Halloween Connect - Spooky Tile Matching Puzzle Game

Seele01-Flash
By
Halloween Connect is a spooky tile-matching puzzle game featuring eerie Halloween characters and decorations. Connect matching tiles through paths with no more than 90-degree turns across 10 challenging levels filled with witches, ghosts, and jack-o'-lanterns.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Halloween Connect 3D". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A "Spooky Cute" aesthetic using Low-poly 3D models or 3D planes. The game board should look like a floating grid in a haunted atmosphere. * **Game Board:** Create a grid of 3D tiles (BoxGeometry). Each tile should have a distinct Halloween texture on the top face: Pumpkin (Jack-O-Lantern), Ghost, Spider, Skull, Bat, Witch Hat, Cauldron, Zombie Hand, Reaper Scythe, and Eyeball. The sides of the tiles should be a dark wooden or stone texture. * **Background:** A dark, atmospheric scene (Deep Purple/Midnight Blue gradient) with subtle animated environmental elements like floating fog particles or distant low-poly dead trees. * **Visual Effects (VFX):** * **Selection:** When a tile is tapped, it must glow (emissive material) or slightly levitate. * **Match:** When two tiles are successfully connected, they should dissolve into a particle explosion (e.g., green smoke or small bats flying away) before being removed from the scene. * **Connection Line:** A dynamic, glowing line (LineRenderer or TubeGeometry) must briefly draw the path between the two tiles to visualize the connection logic. * **Mobile Optimization:** Use instanced mesh rendering for the tiles to reduce draw calls. Textures should be compressed, and shadow casting should be limited to the main board to maintain 60 FPS on mobile devices. ### 2. Audio Requirements * **BGM (Background Music):** A playful yet eerie loop, reminiscent of "The Addams Family" or Danny Elfman's style (harpsichord, theremin, pizzicato strings). It should be non-intrusive. * **Sound Effects (SFX):** * **Tap:** A crisp "clack" sound (like a mahjong tile being touched). * **Match Success:** A magical "poof" sound or a light witch's cackle. * **Match Fail/Error:** A low-pitched "thud" or a ghost moan. * **Level Complete:** A wolf howl or spooky organ chord. * **Timer Warning:** A ticking clock sound that speeds up when 10 seconds remain. ### 3. Gameplay Loop * **Core Mechanic (Onet/Connect-2 Logic):** The player must select two matching tiles. They can only be connected if a path exists between them that creates no more than **two 90-degree turns** (max 3 straight lines). The path cannot pass through other solid tiles. * **Level System:** * Implement 10 levels of increasing difficulty. * Difficulty is increased by enlarging the grid size (e.g., Level 1 is 4x4, Level 10 is 8x10) and reducing the time limit. * The board layout must be randomized but guaranteed solvable (or provide a shuffle function if no moves remain). * **Scoring:** Points are awarded for every match. Speed bonuses apply for matching quickly in succession (Combo system). * **Win/Loss:** * **Win:** Clear all tiles before the timer runs out. * **Loss:** Time reaches zero. ### 4. Mobile Controls & Interaction * **Camera:** Use an Orthographic Camera to keep the grid lines straight and perspective-free, ensuring accurate tapping. The camera should auto-fit the grid to the screen width (for portrait) or height (for landscape). * **Touch Controls:** * Implement a Raycaster for accurate touch detection on the 3D tiles. * Support "Tap to Select" (first tap highlights, second tap on a matching tile executes the move). * If the player taps a wrong second tile (no match or path blocked), the first tile de-selects and the second tile (if valid) becomes the new selected tile. * **UI Layout (Responsive):** * **HUD:** Do not use a right-hand column. Instead, place a floating HUD at the **top** of the screen containing: Level Indicator, Score, and a Countdown Timer bar. * **Buttons:** Add a "Pause" and "Shuffle" button in the bottom corners. Ensure touch targets are at least 44x44px. * **Feedback:** * **Haptic:** Trigger a light vibration (using `navigator.vibrate`) on successful matches. * **Visual:** Shake the camera slightly when a wrong move is attempted. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Halloween Connect is the perfect spooky puzzle game for Halloween enthusiasts and tile-matching fans alike. This eerie-themed matching game transports you into haunted forests filled with bats, ghosts, and glowing jack-o'-lanterns. With its atmospheric Halloween backdrop and challenging puzzle mechanics, it offers an engaging brain-teasing experience that's both relaxing and mentally stimulating.

The game features beautiful Halloween-themed graphics with spooky backgrounds that create an immersive seasonal atmosphere. Whether you're looking for a quick puzzle session or want to challenge yourself across all 10 levels, Halloween Connect delivers the perfect blend of seasonal fun and mental exercise.

Core Features

Spooky Halloween Theme

Immerse yourself in a world of Halloween magic with detailed graphics featuring: - Haunted forest backgrounds with atmospheric lighting - Classic Halloween characters including witches, ghosts, and skeletons - Seasonal decorations like jack-o'-lanterns, coffins, and spider webs - Creepy creatures such as bats, spiders, and red-eyed monsters

Challenging Puzzle Mechanics

  • Path-based matching : Connect identical tiles using paths with no more than 90-degree turns
  • 10 progressive levels : Each level increases in difficulty and complexity
  • Time-based challenges : Race against the clock to clear all tiles
  • Score tracking system : Compete for high scores and track your progress

Free and Accessible Gaming

  • Completely free to play : No hidden costs or premium content
  • Instant browser gameplay : No downloads or installations required
  • Cross-platform compatibility : Works perfectly on desktop and mobile devices
  • HTML5 technology : Smooth performance across all modern browsers

Game Mechanics

Tile Matching Rules

The core gameplay revolves around connecting matching Halloween-themed tiles. To successfully match tiles, you must:

  1. Find identical tiles featuring the same Halloween character or item
  2. Create a valid path between them with no more than two 90-degree turns
  3. Clear the path - ensure no other tiles block the connection route
  4. Work efficiently to clear all tiles before time runs out

Halloween Tile Collection

The game features an extensive collection of spooky tiles including: - Witch accessories : Pointed hats, magical cauldrons, and spell books - Ghostly apparitions : Various ghost designs and supernatural entities - Skeletal elements : Skulls, bones, and skeleton decorations - Creepy crawlers : Spiders, bats, and other Halloween creatures - Jack-o'-lanterns : Different pumpkin face designs - Horror items : Coffins, tombstones, and haunted house elements

How to Play

Basic Controls

  • Click or tap the first tile you want to match
  • Click or tap the second identical tile to attempt a connection
  • Watch the path : A valid connection will clear both tiles
  • Try again : If the connection fails, select a different tile

Winning Strategy Tips

  1. Scan the board quickly to identify available matches
  2. Plan your moves to avoid blocking future connections
  3. Work from edges inward when possible to maintain open paths
  4. Use the hint system wisely when you're stuck
  5. Manage your time effectively across all 10 levels

Progress Tracking

The game interface includes helpful tracking elements: - Level indicator : Shows current level progress (1-10) - Timer display : Counts down remaining time for each level - Score counter : Tracks points earned for successful matches - Goal tracker : Shows objectives needed to complete each level

Why Play Halloween Connect

Perfect Seasonal Entertainment

This game captures the essence of Halloween with its carefully crafted spooky atmosphere. The combination of eerie sound effects, haunting visuals, and challenging gameplay creates an immersive Halloween experience that's perfect for the season.

Brain Training Benefits

  • Improves pattern recognition through tile matching challenges
  • Enhances spatial reasoning with path-finding mechanics
  • Develops strategic thinking through time management
  • Boosts concentration with focused puzzle-solving sessions

Accessibility and Convenience

  • No registration required : Jump straight into the spooky action
  • Mobile-optimized : Perfect for gaming on phones and tablets
  • Quick sessions : Ideal for short breaks or longer gaming periods
  • Family-friendly : Suitable for all ages despite the spooky theme

Replayability Factor

With 10 distinct levels and score-based challenges, Halloween Connect offers excellent replay value. Try to beat your high scores, complete levels faster, or simply enjoy the relaxing puzzle gameplay whenever you need a mental break.

Whether you're a puzzle game veteran or new to tile-matching games, Halloween Connect provides the perfect blend of challenge, atmosphere, and seasonal fun that will keep you coming back for more spooky puzzle action.

Frequently Asked Questions (FAQ)