Screw Out: Bolts and Nuts

Seele01-Flash
By
Screw Out: Bolts and Nuts is an addictive puzzle logic game that challenges you to strategically unscrew and sort colorful bolts. Master patience, logic, and planning to solve increasingly complex puzzles in this brain-teasing adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Screw Out: Bolts and Nuts". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D aesthetic using an Orthographic Camera to maintain puzzle clarity while providing depth. The style should be "Glossy Cartoon," mimicking the high-saturation, polished look of the reference image. * **Core Assets:** * **Screws/Bolts:** Low-poly cylinders with a cross-head indentation on top. Use `MeshStandardMaterial` with high specular highlights (glossy plastic or painted metal look). Distinct colors are required (Green, Red, Blue, Yellow). * **Plates/Shapes:** Flat geometries (rectangles, circles, irregular shapes) with wood or metal textures. These must be layered along the Z-axis to simulate stacking. * **Containers (Top UI):** 3D "boxes" or "slots" at the top of the screen to hold sorted screws. * **Background:** A light, neutral wooden texture or a soft radial gradient to ensure high contrast with the colorful game elements. * **Optimization:** * Use **InstancedMesh** for the screws if the count exceeds 50 to reduce draw calls. * Texture resolution limited to 1024x1024 for mobile memory management. * Real-time shadows should be limited to a single directional light source; use baked ambient occlusion where possible. ### 2. Audio Requirements * **BGM:** A light, playful, and "thinking" style track. Use staccato strings or soft synth marimbas (80-100 BPM) to encourage concentration without causing stress. * **Sound Effects (SFX):** * **Unscrewing:** A satisfying, short mechanical ratchet sound or a high-pitched "pop." * **Metal Clank:** A heavy thud/clatter when a released plate falls and hits the bottom of the screen. * **Sorting Match:** A cheerful "ding" or chord progression when 3 screws match and clear a box. * **Error/Full:** A dull "thud" or buzzer when trying to move a screw with no available slots. * **Win:** A particle-heavy celebration sound (fanfare). ### 3. Gameplay Loop * **Mechanics:** * The scene consists of multiple "Plates" pinned to the background by "Screws." * **Physics Simulation:** The game requires a physics engine (like Cannon.js or Ammo.js). Plates should be dynamic bodies affected by gravity but constrained by the screws (static or kinematic bodies). When all screws holding a plate are removed, the plate must physically fall off the screen. * **Sorting Logic:** * At the top, there are active "Target Boxes" (e.g., a Green Box). * Below, there is a temporary "Buffer Bar" (Holding area with limited slots, e.g., 5 holes). * **Action:** When a player taps a screw, it unscrews and flies to the Top Box (if color matches) or the Buffer Bar. * **Matching:** If 3 screws of the same color enter a Top Box, the box clears/disappears, and a new one slides in. * **Win/Loss Conditions:** * **Win:** All plates are detached, and all screws are sorted. * **Loss:** The Buffer Bar is full of mismatched screws, and the player attempts to unscrew another one. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Portrait Mode** (Vertical) is mandatory to accommodate the falling plates physics and the top-bottom layout. * **Controls:** * **Raycasting:** Implement precise raycasting for touch inputs. The hit detection box for screws should be slightly larger than the visual model (approx 1.2x scale) to account for "fat finger" errors. * **One-Tap Interaction:** Tap a screw to automatically unscrew it. No drag-and-drop required; the movement path should be automated via tweening (e.g., GSAP). * **Feedback:** * **Haptics:** Trigger a short vibration (`navigator.vibrate(15)`) when a screw is successfully removed. * **Visual Cues:** Highlight the selected screw on touch down. If a move is invalid (buffer full), shake the screw slightly red. * **UI Layout:** * Top 15%: Screw Containers. * Middle 70%: Playable Puzzle Area. * Bottom 15%: Buffer Bar and Power-up buttons (Magnet, Hammer). Ensure buttons are at least 44x44px. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Screw Out: Bolts and Nuts is a captivating puzzle logic game that combines strategic thinking with satisfying mechanics. Your mission is to carefully unscrew bolts from various shapes and sort them by color into designated containers. With its colorful 2D graphics and intuitive mouse controls, this game offers hours of engaging brain-teasing entertainment.

The game features progressively challenging levels that test your logical thinking and planning skills. Each puzzle requires you to think several steps ahead, making every move count as you work to clear all bolts from the screen.

Core Features

Strategic Bolt Management

The heart of the game lies in careful resource management. You must strategically plan which bolts to unscrew first, ensuring you always have space for the screws you remove. The limited number of additional holes adds a crucial strategic element that prevents mindless clicking.

Color-Coded Puzzle System

Each level presents shapes secured with colorful bolts that must be matched to corresponding containers at the top of the screen. The color-matching mechanic creates a satisfying sorting experience while adding layers of complexity to each puzzle.

Progressive Difficulty

Starting with simple configurations, the game gradually introduces more complex shapes and color combinations. Advanced levels require careful analysis and multi-step planning to successfully clear all bolts without filling up your limited extra container space.

Powerful Tools and Power-Ups

Enhance your puzzle-solving arsenal with special tools: - Magnet : Instantly fills one container to create more space - Drill : Adds an additional hole for temporary bolt storage - Hammer : Removes an entire shape, clearing multiple bolts at once - Skip Level : Bypass particularly challenging puzzles

Gameplay Mechanics

Basic Rules

Your primary objective is to fill all screw containers at the top of the screen while managing your limited extra storage space. Each container requires three matching bolts before refreshing with a new color. The key challenge is maintaining available space - if your extra containers fill completely, the game ends.

Strategic Elements

Success requires careful observation and planning. You must identify which bolts can be immediately sorted and which will need temporary storage. Prioritizing containers that are nearly full helps create new space quickly, while managing your extra slots prevents game-ending situations.

Operation Guide

Controls : Use the left mouse button to unscrew bolts from shapes

Platform Support : Available on web browsers, mobile devices, and tablets

Accessibility : No download required - play instantly in your browser

The intuitive control scheme makes the game accessible to players of all skill levels, while the deep strategic elements provide lasting challenge for puzzle enthusiasts.

Why Play This Game

Screw Out: Bolts and Nuts offers the perfect blend of relaxation and mental stimulation. The satisfying mechanics of unscrewing bolts combined with the strategic depth of resource management create an addictive gameplay loop that keeps you coming back for more.

The game serves as an excellent brain exercise, improving logical thinking, planning skills, and spatial awareness. Its mobile-friendly design allows you to enjoy quick puzzle sessions anywhere, making it perfect for commutes, breaks, or leisurely gaming sessions.

Whether you're a casual puzzle fan or a dedicated logic game enthusiast, this free-to-play title provides countless hours of engaging entertainment without any barriers to entry.

Frequently Asked Questions (FAQ)