Line Up: Dots! - Connect the Numbers Puzzle Game

Seele01-Flash
By
Line Up: Dots! is an addictive brain training puzzle game where you connect numbered dots in the correct sequence. Challenge your logic skills across hundreds of levels with beautiful themes.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Line Up: Dots!**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A "2.5D" Flat Material Design aesthetic. Use an **Orthographic Camera** to maintain a puzzle-board feel without perspective distortion. * **Color Palette:** Mimic the reference image. Background: Muted Teal (#648c8c) with subtle, low-opacity star patterns. Game Board: Rounded white square with a soft drop shadow to separate it from the background. Dots: Matte Black (#222222). Text: Bold White (#FFFFFF) for numbers inside dots. Connection Lines: Thick, solid black lines. * **3D Models:** * **Dots:** Use `CylinderGeometry` (flattened, coin-like) for the dots. * **Lines:** Use `TubeGeometry` or thick `LineSegments` for the connections. The line should look like a marker stroke. * **The Board:** A `BoxGeometry` with very little height (like a thick card) and rounded corners (via texture masking or shape geometry). * **Performance:** Optimize for mobile by using shared Geometries for all dots. Use `MeshLambertMaterial` or `MeshBasicMaterial` to avoid expensive PBR calculations. Limit shadow casting to only the main board. ### 2. Audio Requirements * **BGM:** A calm, "Zen" style minimalist track using soft marimba or electric piano. It should loop seamlessly and aid concentration. * **Sound Effects (SFX):** * **Connect:** A satisfying, soft "pop" or "click" sound (high pitch) when the line successfully snaps to a new dot. * **Invalid Move:** A dull "thud" or soft vibration sound if the player tries to cross a line or go backwards. * **Level Win:** A cheerful major-chord arpeggio or chime sound. * **UI Tap:** Standard soft click for hints or restart buttons. ### 3. Gameplay Loop * **Core Mechanic:** The player starts at Dot "1". They must drag their finger/mouse to connect to Dot "2", then "3", and so on, until the last number is reached. * **Rules:** * The line acts like a snake; it grows from the last connected dot. * **Constraint 1:** The line cannot intersect/cross itself. * **Constraint 2:** The player must connect dots in ascending numerical order (1 -> 2 -> 3). * **Constraint 3:** All dots must be connected to finish the level. * **Grid System:** The game should be built on a hidden grid system to easily calculate line intersections and validity. * **Win Condition:** When the final dot is connected, the board flashes green, particle confetti explodes, and a "Next Level" modal appears. ### 4. Mobile Controls & Interaction * **Touch Input:** Implement a robust Raycaster logic for `touchstart`, `touchmove`, and `touchend`. * **Hitbox vs. Visuals:** The interactive "hit area" for each dot must be **2x larger** than the visual model of the dot to accommodate finger sizes (fuzziness). * **Drag Behavior:** * **Start:** Touch dot "1" to begin the line. * **Move:** As the finger drags, a dynamic line is drawn from the last connected dot to the finger's current position (visual feedback). * **Snap:** If the finger hovers over the *correct* next dot (e.g., dot 2), the line "snaps" to that dot, locks in, and the origin point for the next segment moves to dot 2. * **Haptic Feedback:** Trigger `navigator.vibrate(10)` (short tick) whenever a connection is successfully made. * **Orientation:** Force Portrait Mode logic (camera adjusts zoom based on aspect ratio) so the board stays centered on vertical screens. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Line Up: Dots! is a captivating thinking puzzle game that challenges your logical reasoning and spatial awareness. In this engaging brain teaser, your mission is to connect all the numbered dots in the correct sequential order, creating a continuous path without crossing your own line. Every successful connection counts as one point, making precision and planning essential for achieving perfect scores.

This addictive puzzle game combines simple mechanics with increasingly complex challenges, making it perfect for players who enjoy mental stimulation and problem-solving. With its clean, minimalist design and intuitive gameplay, Line Up: Dots! offers hours of brain-training entertainment.

Core Features

Progressive Difficulty System

The game features hundreds of carefully crafted levels that gradually increase in complexity. Starting with simple 3-dot puzzles, you'll advance to intricate networks requiring strategic thinking and careful planning. Each level presents a unique challenge that tests different aspects of your logical reasoning.

Smart Hint System

When you're stuck on a particularly challenging puzzle, the built-in hint system comes to your rescue. Located next to the lightbulb icon at the bottom of the screen, this feature reveals the correct number for a specific position, helping you progress without frustration.

Beautiful Theme Collection

Unlock gorgeous visual themes as you progress through the game. These aesthetic rewards keep the experience fresh and provide motivation to complete more challenging levels. Each theme transforms the game's appearance while maintaining the core puzzle mechanics.

Brain Training Benefits

Regular play helps improve: - Logical thinking and problem-solving skills - Spatial awareness and visual processing - Pattern recognition abilities - Sequential reasoning and planning - Concentration and focus

Gameplay Mechanics

The Connection Challenge

Each puzzle presents a set of numbered dots scattered across the game board. Your goal is to connect them in numerical order (1-2-3-4, etc.) by drawing a continuous line. The catch? You cannot cross your own path , making route planning crucial for success.

Strategic Planning Required

Success requires looking ahead and visualizing the complete path before making your first move. Some puzzles have multiple possible starting approaches, but only one leads to a complete solution. This forward-thinking element makes each level a satisfying mental challenge.

Perfect Score System

The game tracks your performance, encouraging you to find the most efficient solution for each puzzle. Achieving perfect scores requires not just completing the level, but doing so with optimal precision and minimal mistakes.

Operation Guide

Simple Mouse Controls

  • Click and Hold : Press and hold the left mouse button on any numbered dot to start drawing your connection line
  • Drag to Connect : While holding, move your mouse to the next numbered dot in sequence
  • Release to Confirm : Release the mouse button to confirm the connection
  • Hint Access : Click the lightbulb icon when you need assistance with a challenging puzzle

Mobile-Friendly Design

The game works perfectly on touch devices, where you can use finger gestures instead of mouse controls. Simply tap and drag to create connections, making it ideal for gaming on smartphones and tablets.

Why Play Line Up: Dots!

Perfect for All Ages

This puzzle game appeals to a wide audience, from children learning number sequences to adults seeking mental stimulation. The difficulty curve ensures that players of all skill levels can find appropriate challenges.

Quick Gaming Sessions

Each puzzle can be completed in just a few minutes, making it perfect for quick brain breaks during work or study sessions. The bite-sized challenges fit perfectly into busy schedules.

No Pressure Environment

Unlike timed puzzle games, Line Up: Dots! lets you think at your own pace. There's no rush, allowing for thoughtful consideration of each move and reducing gaming stress.

Educational Value

The game subtly reinforces number recognition , sequential thinking , and problem-solving skills , making it an excellent choice for educational gaming or brain training routines.

Completely Free Experience

Enjoy the full game experience without any paywalls or premium restrictions. All levels, themes, and features are accessible through regular gameplay progression.

Frequently Asked Questions (FAQ)