Weave - String Puzzle Game

Seele01-Flash
By
Weave is a captivating string puzzle game that challenges players to manipulate turquoise strings to match target patterns. With 60 progressively challenging levels and a calming visual design, it's perfect for puzzle enthusiasts seeking a relaxing brain workout.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Weave (String Art Puzzle)**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Skeuomorphic and tactile. The game should look like a physical wooden board game. * **The Board**: A procedural wood-textured plane (using brown/tan colors). It should feature a grid of "holes" or indentations. * **The Pins**: Silver, metallic screw-heads or nails represented by low-poly cylinders with a metallic `MeshStandardMaterial`. They should cast soft shadows onto the board. * **The String**: A bright Turquoise (`#40E0D0`) continuous line. Use `THREE.TubeGeometry` or a thick custom `LineGeometry` to make it look like a physical elastic band or thick yarn. It must connect specific pins. * **Target Display**: A small 2D UI overlay (canvas or HTML element) showing the "Target Shape" the player needs to replicate. * **Lighting**: Warm, overhead directional lighting to create depth perception (shadows under the string and pins). * **Performance**: Use `InstancedMesh` for the pins to reduce draw calls. Limit shadow map resolution for mobile performance. ### 2. Audio Requirements * **BGM**: A very loopable, calming, acoustic guitar or low-fidelity "coffee shop" ambient track. * **Sound Effects (SFX)**: * **Snap/Connect**: A satisfying wooden "clack" or "thud" sound when the string successfully hooks onto a pin. * **Drag/Stretch**: A subtle fabric tension sound when pulling the string (optional). * **Undo**: A quick "zip" sound. * **Win**: A gentle 3-note chime or harp glissando. ### 3. Gameplay Loop * **Core Mechanic**: The player starts with a string wrapped around a few default pins. The player can grab any *segment* of the string (the line between two pins) and drag it. * **Interaction Logic**: * Dragging a line segment creates a new temporary "vertex" at the finger's position. * If the player releases the string over an empty Pin/Hole, the string "snaps" to that pin, creating a permanent new vertex in the shape. * If released elsewhere, the string snaps back to its previous position. * **Objective**: Manipulate the string until the connections match the "Target Shape" exactly. * **Scoring**: A generic "3-Star System" based on the number of moves. (e.g., <5 moves = 3 stars). * **Progression**: Levels should get progressively harder by adding more pins and complex geometric shapes. ### 4. Mobile Controls & Interaction * **Touch Interaction**: Implement a Raycaster that detects touch/click on the *string segments*. * `touchstart`: Detect if hitting a string segment. * `touchmove`: Update the geometry of the string to follow the finger (visualize the string stretching). * `touchend`: Calculate distance to the nearest Pin. If within a tolerance radius (e.g., 1.5 world units), snap to pin. * **Visual Feedback**: * When dragging, the nearest valid Pin should highlight (glow or slightly scale up) to indicate it will snap there. * The string color could slightly brighten when under tension (being dragged). * **Haptic Feedback**: Trigger `navigator.vibrate(10)` (light vibration) when the string snaps to a pin. * **UI Layout**: Keep the "Reset" and "Undo" buttons at the bottom of the screen (thumb-friendly zone). Keep the "Target Shape" display at the top (non-interactive zone). * **Orientation**: Locked to Portrait mode for one-handed play. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Weave

Weave is a free online puzzle game that combines visual pattern recognition with strategic thinking. Rated 3.9/5 by players, this engaging brain teaser features a soothing brown and tan color scheme with distinctive turquoise strings that players must manipulate to recreate specific patterns.

The game stands out in the puzzle genre by offering a unique string-manipulation mechanic that's both intuitive and challenging. Unlike traditional tile-based puzzles, Weave requires players to think spatially about how strings connect and flow between fixed anchor points.

Core Features

60 Challenging Levels

Weave provides extensive gameplay with 60 carefully designed puzzles that gradually increase in complexity. Each level presents a new string pattern to master, ensuring hours of engaging puzzle-solving entertainment.

Three-Star Rating System

Every level can be completed with a three-star rating based on efficiency. Players are challenged to solve puzzles in the minimum number of moves possible, adding a strategic layer that encourages replay and optimization.

Relaxing Visual Design

The game features a calming aesthetic with warm brown and tan backgrounds complemented by bright turquoise strings. This thoughtful color palette creates a meditative gaming experience perfect for stress relief and mental relaxation.

Cross-Platform Compatibility

Built with HTML5 technology, Weave runs seamlessly on desktop computers, smartphones, and tablets without requiring downloads or installations. The responsive design ensures optimal gameplay across all devices.

Competitive Leaderboards

Track your progress and compete with other players through integrated leaderboards. Compare your solving efficiency and see how you rank against puzzle enthusiasts worldwide.

Gameplay Mechanics

The core gameplay revolves around manipulating a turquoise string that's anchored to various pins on a board. Players must recreate the target pattern shown in the display by dragging and positioning the string correctly.

Key gameplay elements include: - Fixed Pins : Permanent anchor points that cannot be moved - Dynamic String Placement : Create new connection points by dragging the string - Pattern Matching : Precisely recreate the target configuration - Move Optimization : Complete puzzles efficiently for maximum star ratings

Operation Guide

Desktop Controls: - Mouse Click and Drag : Select and move string segments to new positions - Left Click : Interact with pins and connection points

Mobile Controls: - Touch and Drag : Finger gestures to manipulate string positions - Tap : Select pins and confirm placements

Gameplay Strategy: 1. Study the target pattern carefully before making moves 2. Identify fixed anchor points that cannot be changed 3. Plan your string routing to minimize total moves 4. Use reference holes to align string segments precisely 5. Access leaderboards via the upper-right corner icon

Why Play Weave

Perfect Mental Exercise

Weave provides excellent cognitive training by combining spatial reasoning, pattern recognition, and strategic planning. It's ideal for players who enjoy brain teasers that challenge without overwhelming.

Stress-Free Gaming

The game's peaceful visual design and methodical gameplay create a zen-like experience. There are no time pressures or aggressive elements - just pure puzzle-solving satisfaction.

Accessible to All Ages

With its simple controls and gradually increasing difficulty, Weave welcomes players of all skill levels. Beginners can learn the basics quickly, while experienced puzzlers will find the later levels genuinely challenging.

No Financial Commitment

Weave is completely free to play with no hidden costs, in-app purchases, or subscription requirements. Enjoy the full puzzle experience without any financial barriers.

Instant Accessibility

As a browser-based game, Weave requires no downloads, installations, or account creation. Simply visit the game page and start playing immediately on any modern device.

Frequently Asked Questions (FAQ)