10x10 - Free Online Puzzle Game

Seele01-Flash
By
10x10 is an addictive puzzle game that combines the best elements of Tetris with strategic block placement. Drop colorful blocks on a 10x10 grid to clear lines and achieve high scores in this free browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**10x10 Grid Puzzle**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A clean, "Glossy" and "Juicy" aesthetic inspired by modern mobile puzzles. * **The Board:** A 10x10 grid of slightly indented squares. The background color should be a soft, neutral off-white or light gray to make the colorful blocks pop. * **The Blocks:** Use `THREE.BoxGeometry` with rounded edges (via bevels) to look like polished plastic or candy tiles. They should look distinct and colorful (e.g., Red for 1x1, Blue for L-shape, Green for lines). * **Lighting:** Use a soft 3-point lighting setup (Ambient + Directional) to create gentle specular highlights on the "glossy" blocks, giving them volume. * **Performance:** * Use **InstancedMesh** for the grid cells and placed blocks to reduce draw calls, as there can be up to 100 blocks on screen plus the UI elements. * Keep geometry segments low (e.g., box bevel segments = 1 or 2). ### 2. Audio Requirements * **BGM:** A chill, low-fidelity (Lo-Fi) or soft electronic track. It should be repetitive but non-intrusive, encouraging focus (brain-training atmosphere). * **Sound Effects (SFX):** * *Pickup:* A soft "pop" or "click" when lifting a shape. * *Placement:* A satisfying, solid "thud" or "snap" sound when a block lands on the grid. * *Invalid Move:* A subtle, low-pitch rejection sound. * *Line Clear:* A bright, ascending chime or digital "sweep" sound. The pitch should increase if multiple lines are cleared simultaneously (Combo feel). * *Game Over:* A descending, slightly melancholic electronic fade-out. ### 3. Gameplay Loop * **Core Mechanic:** The player is presented with **three random shapes** (Tetromino-style pieces) below the main 10x10 grid. * **Interaction:** The player drags one shape at a time onto the grid. Shapes **cannot** be rotated. * **Clearing Lines:** Unlike Tetris (which only clears horizontal), this game clears lines both **horizontally AND vertically**. When a row or column is fully filled, the blocks flash white and then shrink/vanish, awarding points. * **Refill:** New shapes only appear after all three current shapes have been placed. * **Game Over Condition:** The game ends immediately if there is no space on the grid to place any of the remaining available shapes. * **Scoring:** 1 point per block placed. Bonus points for clearing lines (e.g., 10 points per line, multiplier for clearing horizontal and vertical lines simultaneously). ### 4. Mobile Controls & Interaction * **Touch Controls (Raycasting):** * **Drag & Drop:** Implement a robust Raycaster logic. When the user touches a shape, it should scale up slightly (1.2x) and float above the finger position (y-offset) so the user can see where they are placing it. * **Snap Preview:** As the user drags the shape over the grid, show a "ghost" or semi-transparent highlight on the grid cells underneath to indicate where it will snap. * **Screen Orientation:** **Portrait Mode** optimized. The 10x10 grid sits in the upper 60% of the screen, and the shape spawning area sits in the bottom 30%. * **UI Elements:** * Scoreboard at the very top (large, readable font). * "Restart" button clearly visible but out of the play area. * Touch targets for the three spawn shapes must be large enough to prevent mis-clicks. * **Feedback:** * **Haptics:** Trigger a light vibration (`navigator.vibrate(10)`) when a block snaps into place or a line is cleared. * **Visual Juice:** When lines clear, spawn simple particle explosions (small cubes scattering) color-coded to the blocks destroyed. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

10x10 is a captivating puzzle game that puts a fresh spin on the classic Tetris formula. Instead of falling blocks, you strategically place different-shaped pieces on a 10x10 grid to form complete lines. This free online puzzle game challenges your spatial reasoning and planning skills as you work to achieve the highest possible score.

The game features a clean, colorful interface with smooth gameplay that's perfect for quick gaming sessions or extended puzzle-solving marathons. With its simple yet engaging mechanics, 10x10 has become a favorite among puzzle enthusiasts worldwide.

Core Features

Strategic Block Placement

Unlike traditional Tetris, 10x10 gives you complete control over where to place your blocks. You're presented with three different-shaped pieces at a time and must decide the optimal placement for each one on the 10x10 grid.

Line Clearing Mechanics

Form complete horizontal or vertical lines to make them disappear and score points. The more lines you clear simultaneously, the higher your score multiplier becomes.

Diverse Block Shapes

The game includes various block configurations, from simple single squares to complex shapes that require careful positioning. Each shape presents unique placement opportunities and challenges.

Customizable Themes

Access the in-game shop to purchase new visual themes that personalize your gaming experience. Choose from different color schemes and block designs to suit your preferences.

Cross-Platform Compatibility

Enjoy 10x10 on any device with a web browser. The game runs smoothly on desktop computers, laptops, tablets, and smartphones without requiring any downloads or installations.

Game Strategy

Planning Ahead

Success in 10x10 requires forward thinking. Always consider how your current placement will affect future moves and try to keep multiple line-clearing options available.

Corner Strategy

Start by filling corners and edges of the grid, as these areas are typically harder to complete later in the game. This approach helps maintain flexibility for larger blocks.

Simultaneous Line Clearing

Maximize your score by positioning blocks to clear multiple rows and columns simultaneously. This technique is essential for achieving high scores.

Operation Guide

Basic Controls

The game uses simple drag-and-drop mechanics: - Mouse : Click and drag blocks from the selection area to your desired position on the 10x10 grid - Touch : On mobile devices, tap and drag blocks with your finger - Placement : Release the block when it's positioned correctly on the grid

Gameplay Flow

  1. Observe the three available block shapes at the bottom of the screen
  2. Select a block by clicking or tapping on it
  3. Drag the block to an empty area on the 10x10 grid
  4. Release to place the block permanently
  5. Repeat until you can no longer place any of the available blocks

Scoring System

Points are awarded for: - Placing blocks on the grid - Clearing complete lines (rows or columns) - Clearing multiple lines simultaneously for bonus points

Why Play This Game

10x10 offers the perfect blend of relaxation and mental challenge. It's an ideal game for:

  • Puzzle Lovers : Experience a fresh take on classic block-puzzle mechanics
  • Casual Gamers : Enjoy quick, satisfying gaming sessions without time pressure
  • Strategy Enthusiasts : Develop and refine placement strategies for higher scores
  • Mobile Players : Play seamlessly across all devices without downloads
  • Score Chasers : Compete for personal best scores and challenge yourself continuously

The game's free-to-play nature means you can start playing immediately without any financial commitment. Its browser-based design ensures you can enjoy 10x10 anywhere you have internet access, making it perfect for work breaks, commutes, or leisure time at home.

Frequently Asked Questions (FAQ)