Word Search - Classic Word Finding Game

Seele01-Flash
By
Word Search is the timeless classic puzzle game where players hunt for hidden words in a letter grid. Choose from multiple themes and languages to challenge your vocabulary and observation skills.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Classic Word Search 3D**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Clean, modern, and high-contrast UI inspired by the provided logo (bright blues, glossy whites, and soft shadows). Although it's a 2D logic game, implement it in a **3D space** where the letter grid floats slightly above a calm, neutral background (e.g., a soft gradient plane or a subtle wooden desk texture). * **The Grid:** Construct the letter grid using a 2D array of 3D TextGeometries or Sprites. Each letter should look like a polished tile (resembling Scrabble or mahjong tiles) with rounded corners. * **Selection Highlight:** When a user drags across letters, generate a semi-transparent, capsule-shaped mesh (rounded ends) that glows in a bright color (like neon green or cyan) to visually connect the start and end letters. * **Theme Integration:** Since the game has themes (Fruits, Computer, etc.), change the background color palette slightly based on the selected category (e.g., Green/Red for Fruits, Cyber-blue/Grey for Computers). * **Mobile Optimization:** Use low-poly meshes for the tiles. Use `InstancedMesh` for the letter tiles to ensure 60FPS performance on mobile devices, as there will be many identical geometries (cubes) with different textures/text. ### 2. Audio Requirements * **BGM:** A relaxing, lo-fi study beat or gentle acoustic guitar track. It needs to be non-intrusive to aid concentration. * **Sound Effects (SFX):** * **Tile Touch:** A soft "click" or "pop" sound when a finger first touches a letter. * **Selection Drag:** A rising pitch tone (glissando) as the user drags across valid letters. * **Correct Word:** A satisfying major chord chime or a "ding" sound when a correct word is locked in. * **Win State:** A cheerful fanfare applause. ### 3. Gameplay Loop * **Setup:** The game initializes a grid (e.g., 10x10 or 12x12) filled with random letters. Hidden within are specific words from a predefined list (based on the chosen category). * **Core Action:** The player finds words horizontally, vertically, or diagonally (forward or backward). * **Validation Logic:** When the player releases their touch/click: * **If Valid:** The highlight turns solid/permanent, the word is crossed off the UI list, and a particle effect explodes from the word. * **If Invalid:** The highlight shakes briefly (visual feedback) and fades away. * **Victory Condition:** All words in the list are found. Display a "Level Complete" modal with the time taken and a star rating based on speed. ### 4. Mobile Controls & Interaction * **Touch Input:** Implement a **Raycaster** system mapped to touch events (`touchstart`, `touchmove`, `touchend`). * **Start:** Detect the initial letter tile hit by the ray. * **Move:** continuously raycast to find the current "end" tile. Draw a dynamic line or stretch a cylinder mesh between the start tile and the current finger position. * **Snap-to-Grid:** The selection line should "snap" to valid 45-degree or 90-degree angles to make selecting diagonals easier on small screens. * **Screen Orientation:** Portrait mode preferred for one-handed play, but the camera should be an OrthographicCamera to ensure the grid remains readable and undistorted regardless of aspect ratio. * **UI Layout:** * **Top:** Timer and Current Score/Progress Bar. * **Center:** The 3D Letter Grid (centered, occupying 60% of screen height). * **Bottom:** The list of words to find. This list should be scrollable if it exceeds screen height. * **Haptic Feedback:** Trigger a short vibration (`navigator.vibrate(10)`) every time the user's drag moves over a new valid letter tile, providing tactile confirmation without covering the screen with their finger. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Word Search is the beloved classic puzzle game that has entertained millions of players worldwide. This digital version brings the traditional pen-and-paper word hunt experience to your browser, offering unlimited puzzles with various themes and difficulty levels. Whether you're a casual player looking for relaxation or a word enthusiast seeking a mental challenge, this game provides hours of engaging entertainment.

Core Features

Multiple Language Support

Choose your preferred language to enjoy word puzzles in your native tongue or practice vocabulary in a foreign language. This feature makes the game accessible to players worldwide while offering educational value.

Six Exciting Themes

Select from carefully curated categories that cater to different interests: - Fruits : Discover delicious fruit names hidden in the grid - Animals : Hunt for creatures from around the world - Countries : Test your geography knowledge with nation names - Vegetables : Find healthy greens and nutritious options - Music : Explore musical terms and instrument names - Computer : Challenge yourself with technology-related vocabulary

Time Challenge System

Race against the clock to find all hidden words and set new personal records. The timing feature adds competitive excitement and helps track your improvement over time.

Clean, User-Friendly Interface

The game features a clear, easy-to-read letter grid with intuitive controls that work seamlessly across all devices. The professional design ensures comfortable gameplay sessions without eye strain.

Game Mechanics

Words can be hidden in multiple directions within the letter grid: - Horizontal : Left to right or right to left - Vertical : Top to bottom or bottom to top - Diagonal : In all four diagonal directions

This variety keeps the gameplay challenging and prevents predictable patterns, ensuring each puzzle feels fresh and engaging.

Operation Guide

Basic Controls: - Mouse/Touch : Click and drag to select words in the grid - Word List : Check the list of words you need to find - Theme Selection : Choose your preferred category before starting - Language Options : Select your desired language from the menu - Timer : Monitor your progress and aim for faster completion times

Playing Tips: 1. Start by scanning for shorter words (3-4 letters) as they're easier to spot 2. Look for uncommon letters (Q, X, Z) as they often mark word locations 3. Remember that words can run in any direction, including backwards 4. Use the process of elimination - cross off found words from the list 5. Take breaks if you get stuck - fresh eyes often spot hidden words immediately

Why Play Word Search

Educational Benefits

  • Vocabulary Enhancement : Discover new words and reinforce spelling
  • Pattern Recognition : Improve visual scanning and attention to detail
  • Concentration Skills : Develop focus and persistence through puzzle-solving
  • Language Learning : Practice vocabulary in different languages
  • Memory Training : Strengthen recall abilities and cognitive function

Perfect for All Ages

Word Search appeals to players from elementary school students to senior adults. The adjustable difficulty through theme selection makes it suitable for various skill levels and interests.

Stress Relief and Relaxation

The systematic, meditative nature of searching for words provides excellent stress relief. Unlike fast-paced games, Word Search allows players to work at their own pace, making it perfect for unwinding after a busy day.

No Time Pressure (Optional)

While the game includes a timer for those who enjoy challenges, players can ignore it completely and simply enjoy the peaceful word-hunting experience at their leisure.

Frequently Asked Questions (FAQ)