Woody Sort - Color Ball Sorting Puzzle Game

Seele01-Flash
By
Woody Sort is an engaging color ball sorting puzzle game that challenges your logic and problem-solving skills. Sort colorful balls into wooden tubes, ensuring each tube contains only one color to progress through increasingly challenging levels.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Woody Sort: Nature's Logic Puzzle**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A calming, organic aesthetic combining high-fidelity textures with a soft, warm atmosphere. * **Background:** A high-quality wood grain texture plane positioned behind the tubes. Overlay a semi-transparent vignette of soft green leaves (static sprites or simple meshes) in the corners to frame the play area, simulating a forest table setting. * **The Tubes:** Create 3-5 transparent glass cylinders (tubes) with a subtle white rim at the top. Use a `MeshPhysicalMaterial` with transmission and roughness to simulate glass reflection and refraction without being too computationally expensive for mobile. * **The Balls:** Spheres with a distinct "painted wood" texture. They should not look like plastic; give them a slight brushstroke normal map or roughness map. Colors should be vibrant but natural (e.g., Berry Pink, Forest Green, Sky Blue, Sunflower Yellow). * **Lighting:** Warm, soft directional lighting from the top-left, casting soft shadows inside the tubes. Add a subtle ambient light to ensure no part of the scene is pitch black. * **VFX:** * **Selection:** When a ball is selected, it should have a subtle "glow" or a faint white outline. * **Movement:** A simple parabolic arc trail (white semi-transparent ribbon or particles) when a ball moves from one tube to another, as seen in the screenshot. * **Win State:** Confetti particles or light rays bursting from the tubes when a level is cleared. ### 2. Audio Requirements * **BGM:** A looping, zen-like acoustic guitar or harp melody mixed with very faint ambient nature sounds (birds chirping, leaves rustling). It should be relaxing and non-intrusive. * **SFX:** * **Tap/Select:** A soft wooden "tok" sound (like a marimba note). * **Drop:** A satisfying "clack" sound when a ball lands in a tube. * **Invalid Move:** A gentle, low-pitched "thud" or a small vibration sound. * **Level Complete:** A bright, ascending major-scale chime or strum. ### 3. Gameplay Loop * **Core Mechanic:** The player is presented with a set of tubes containing mixed-colored balls. The goal is to sort the balls so that each tube contains only balls of the same color. * **Rules:** 1. A player can only move the top ball from one tube to another. 2. A ball can only be placed on top of another ball if they are the **same color**, or if the destination tube is **empty**. 3. A tube has a maximum capacity (e.g., 4 balls). If full, no ball can be added. * **Level System:** Start with a simple setup (3 tubes, 2 colors). Upon winning, automatically regenerate a slightly harder level (more tubes, more colors). * **Win Condition:** All tubes are either full of a single color or completely empty. ### 4. Mobile Controls & Interaction * **Orientation:** Portrait Mode (Vertical) is mandatory for this style of puzzle to fit the tubes comfortably on a phone screen. * **Touch Controls:** * **Interaction:** 100% Raycasting based. * **Action:** Tap a tube to "pop" the top ball up (Selection State). Tap a different tube to move the selected ball there (Target State). Tap the same tube again to deselect. * **Responsiveness:** The animation of the ball popping up and moving must be smooth (using TWEEN.js or GSAP logic). * **UI:** * Place a "Restart" button and a "Hint" icon at the top of the screen (ensure they are at least 48x48px for touch targets). * Display "Level X" clearly at the top center. * **Haptic Feedback:** Trigger `navigator.vibrate(50)` (short pulse) when a ball is successfully dropped, and `navigator.vibrate([30, 50, 30])` (double pulse) on Level Complete. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Woody Sort is a captivating color sorting puzzle game that combines logic, strategy, and visual appeal in one addictive package. This brain-training game challenges players to organize colorful balls into wooden tubes, with the simple yet engaging goal of ensuring each tube contains balls of only one color. With its intuitive gameplay and progressively challenging levels, Woody Sort offers hours of mentally stimulating entertainment.

The game features a beautiful nature-themed design with wooden tubes set against a lush forest background, creating a relaxing and visually pleasing gaming environment. Each level presents a unique puzzle configuration that requires careful planning and strategic thinking to solve efficiently.

Core Features

Progressive Difficulty System

Woody Sort offers multiple levels of increasing complexity, starting with simple color sorting challenges and advancing to intricate puzzles that will test even experienced puzzle game enthusiasts. Each level is carefully designed to introduce new challenges while maintaining the core sorting mechanics.

Three-Star Rating System

Every level comes with three specific challenges that players can complete to earn a perfect three-star rating. This scoring system adds replay value and encourages players to find the most efficient solutions, making each level more than just a simple completion task.

Hint System

When faced with particularly challenging puzzles, players can access a helpful hint system. This feature ensures that even the most difficult levels remain solvable, preventing frustration while maintaining the game's challenging nature.

Cross-Platform Compatibility

The game runs smoothly on both desktop computers and mobile devices, including phones and tablets. This flexibility allows players to enjoy Woody Sort anywhere, whether at home on a computer or on-the-go with mobile devices.

Game Mechanics

Simple Yet Strategic Gameplay

The core mechanic involves moving colored balls between wooden tubes using simple mouse clicks or touch gestures. Players must strategically plan their moves, as tubes have limited capacity and balls can only be moved following specific rules typical of sorting puzzle games.

Color Matching Logic

Success requires understanding color relationships and spatial reasoning. Players must visualize the final sorted state and work backwards to determine the optimal sequence of moves.

Operation Guide

Desktop Controls: - Mouse : Click and drag to move balls between tubes - Left Click : Select and move balls - Interface Navigation : Use mouse to access menus and hints

Mobile Controls: - Touch : Tap to select balls and tubes - Drag : Move balls by touching and dragging - Pinch : Zoom in/out for better visibility on smaller screens

Winning Strategy Tips

  • Plan several moves ahead before making your first move
  • Identify the most constrained tubes first
  • Use empty tubes strategically as temporary storage
  • Take advantage of the hint system when genuinely stuck
  • Aim for three-star completion by meeting all level challenges

Why Play Woody Sort

Brain Training Benefits

Woody Sort serves as an excellent brain training tool, improving logical thinking, problem-solving skills, and spatial reasoning. Regular play can enhance cognitive abilities while providing entertaining challenges.

Stress Relief and Relaxation

The game's peaceful forest theme, combined with satisfying sorting mechanics, creates a meditative gaming experience perfect for unwinding after a busy day.

Perfect for All Ages

With its simple controls and intuitive gameplay, Woody Sort appeals to players of all ages. Children can develop logical thinking skills, while adults can enjoy a sophisticated puzzle challenge.

No Cost, No Downloads

As a completely free browser-based game, Woody Sort requires no financial investment or storage space. Simply open your web browser and start playing immediately.

Achievement and Progress

The three-star rating system provides clear goals and a sense of accomplishment. Players can track their progress and challenge themselves to achieve perfect scores on every level.

Frequently Asked Questions (FAQ)