Colorful Towers - Free Puzzle Stacking Game

Seele01-Flash
By
Colorful Towers is a captivating free puzzle game that challenges you to stack and unstack colored balls strategically. Test your logic skills by reorganizing colorful towers to match colors perfectly.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Colorful Towers". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Modern, clean, and minimalist 3D aesthetic. The background should be a solid dark charcoal (hex #333333) to match the logo's contrast, allowing the bright colors to pop. * **Game Objects:** * **Towers/Jars:** Create 3D transparent glass cylinders (use `MeshPhysicalMaterial` with `transmission` and `roughness` settings to simulate glass). They should be tall enough to hold exactly 4 balls. * **Balls:** Glossy spheres representing the "puzzle pieces". Use the colors from the game logo: Vibrant Green, Yellow, Red, Blue, Purple, and Pink. * **Lighting:** Use a 3-point lighting setup (Key, Fill, Rim) or an HDR Environment map to create nice reflections on the glossy balls and glass tubes. * **Camera:** Fixed Perspective Camera positioned slightly above and in front of the tubes (approx 45-degree angle), ensuring all tubes fit within the vertical viewport of a mobile screen. * **Optimization:** Use `SphereGeometry` with moderate segment counts (e.g., 32x32) to maintain high FPS on mobile devices. ### 2. Audio Requirements * **BGM:** A relaxing, "Zen" style low-fidelity beat or soft ambient piano track that loops seamlessly to aid concentration. * **Sound Effects (SFX):** * **Select:** A soft "pop" or "suction" sound when a ball is tapped/lifted. * **Drop:** A satisfying glass-on-glass "clink" or a hollow "thud" when a ball lands in a tube. * **Error:** A gentle low-pitched buzz or "shake" sound if a move is invalid. * **Win:** A harmonious ascending chime or chord when a level is completed. ### 3. Gameplay Loop * **Core Mechanic:** The classic "Ball Sort" logic. The player is presented with several tubes. Some contain mixed colored balls, others are empty. * **Rules:** 1. The player can only move the top-most ball of a tube. 2. A ball can only be placed into another tube if that tube is empty OR if the top ball of the destination tube is the **same color**. 3. A tube cannot accept a ball if it is full (limit 4 balls). * **Win Condition:** The level is won when all balls of the same color are stacked together in separate tubes, and all remaining tubes are completely empty. * **Level Generation:** Start with a simple solvable configuration (e.g., 3 colors, 4 tubes). ### 4. Mobile Controls & Interaction * **Input System:** Use Three.js `Raycaster` to detect touch/click events. * **Interaction Flow:** 1. **Tap 1 (Select):** Player taps a tube. The top ball animates upwards (hovers above the tube) to indicate selection. 2. **Tap 2 (Place):** Player taps a destination tube. The selected ball travels in a parabolic arc (using `Tween.js` or simple interpolation) into the new tube. 3. **Deselect:** If the player taps the *same* tube again, the ball drops back down (cancels selection). * **Orientation:** Portrait mode is preferred for "Towers" verticality, but the layout should be responsive (scale tubes based on screen width). * **Feedback:** * **Visual:** Highlight the selected tube (e.g., slight emission glow or distinct outline). * **Haptic:** Trigger a short vibration (using `navigator.vibrate`) when a ball is successfully dropped. * **Invalid Move:** If a move is illegal, the ball should perform a quick "shake" animation and return to its original spot. * **UI:** Add a "Restart" button in the top right corner (min size 44x44px) for easy reset. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Colorful Towers is an engaging puzzle game that combines strategic thinking with satisfying gameplay mechanics. With a stellar 4.2/5 rating, this brain-teasing adventure challenges players to deconstruct and reconstruct colorful ball towers using pure logic and planning.

The game presents you with a unique twist on traditional puzzle mechanics - instead of building up, you're breaking down complex arrangements and rebuilding them with purpose. Each level requires careful consideration as you move colored balls one at a time between containers to create perfectly organized, color-matched stacks.

Core Features

Strategic Puzzle Mechanics

Colorful Towers offers deep strategic gameplay where every move matters. You'll face increasingly complex arrangements that require forward-thinking and careful planning to solve efficiently.

Perfect for All Ages

Rated for all ages, this game provides appropriate challenge levels that can be enjoyed by children and adults alike. The intuitive mechanics make it easy to learn but challenging to master.

Cross-Platform Gaming Experience

  • Completely Free : No payment required to access the full game experience
  • No Download Required : Play instantly in your web browser
  • Mobile Optimized : Perfect touch controls for smartphones and tablets
  • Desktop Compatible : Smooth mouse controls for computer players
  • Instant Play : Start gaming immediately without registration

Brain Training Benefits

This puzzle game serves as excellent brain training, improving: - Logical reasoning skills - Strategic planning abilities - Pattern recognition - Problem-solving efficiency - Concentration and focus

Game Gameplay

The core objective is beautifully simple yet intellectually challenging. You begin each level with several containers - some empty, others filled with colored balls in mixed arrangements. Your mission is to reorganize these balls by moving them one at a time between containers until you achieve perfect color coordination.

Level Progression

Each stage presents a new puzzle configuration with increasing complexity. Early levels teach basic mechanics, while advanced stages require multi-step planning and strategic foresight.

Color Matching Strategy

Success depends on your ability to visualize the final arrangement and work backwards, planning each move to avoid creating impossible situations where balls become permanently trapped.

Operation Guide

Desktop Controls

  • Mouse Click and Drag : Select and move balls between containers
  • Point and Click : Tap containers to select source and destination
  • Drag Motion : Smooth ball transfer with visual feedback

Mobile Controls

  • Tap and Drag : Touch a ball and drag to move it
  • Double Tap : Quick selection for faster gameplay
  • Gesture Controls : Intuitive finger movements for precise ball placement

Gameplay Rules

  • Move only one ball at a time
  • Balls can only be placed on top of other balls or in empty containers
  • Plan your moves carefully - some arrangements can become unsolvable
  • Complete levels by organizing all balls into color-matched stacks

Why Play This Game

Colorful Towers stands out in the puzzle game genre by offering immediate accessibility combined with deep strategic gameplay. The satisfaction of solving complex arrangements provides genuine accomplishment, while the progressive difficulty ensures long-term engagement.

The game's strength lies in its perfect balance - simple enough for casual players to enjoy, yet complex enough to challenge puzzle enthusiasts. With no time pressure and unlimited moves, you can think through each solution at your own pace.

Whether you're looking for a quick mental break or an extended puzzle-solving session, Colorful Towers delivers engaging gameplay that sharpens your mind while providing relaxing entertainment.

Frequently Asked Questions (FAQ)