7x7 Ultimate - Puzzle Block Game

Seele01-Flash
By
7x7 Ultimate is an engaging puzzle block game that challenges your strategic thinking. Place colorful blocks on a 7x7 grid to create matches and clear the board in this addictive brain teaser.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**7x7 Ultimate (3D Logic Puzzle)**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: "Neon-Glossy." The game should feature a dark, sleek sci-fi atmosphere. The background should be a deep midnight blue or dark grey gradient. * **The Grid**: A 7x7 grid platform floating in the center. The tiles should be slightly recessed or marked by glowing neon lines (cyan or electric blue). * **The Blocks**: Use `BoxGeometry` with `rounded` edges (or bevels) to create smooth, candy-like cubes. * **Materials**: Use `MeshPhysicalMaterial` with high transmission or reflectivity to simulate glass or polished plastic. * **Colors**: 5 to 7 distinct, vibrant colors (Cyan, Magenta, Lime Green, Purple, Orange, Red). * **Effects**: * **Bloom**: Implement a post-processing bloom effect to make the blocks and grid lines glow softly. * **Selection**: When a block is selected, it should float up slightly (y-axis animation) and pulse in brightness. * **Particles**: When lines are cleared, the blocks should shatter into simple cube particles that fade away. * **Camera**: An Orthographic Camera set to a high angle (isometric view, approx 45-60 degrees) to ensure the grid is perfectly readable on mobile screens without perspective distortion hiding blocks behind others. ### 2. Audio Requirements * **BGM**: A chill, ambient "Intelligent Dance Music" (IDM) or low-tempo Synthwave track. It should be repetitive but non-intrusive to aid concentration. * **Sound Effects (SFX)**: * **Select**: A soft, high-pitched "bloop" or digital click. * **Move**: A sliding "whoosh" sound. * **Land**: A solid "thud" when the block arrives at the destination. * **Match/Clear**: A harmonious, rewarding chord or chime sequence (ascending notes). * **Game Over**: A descending electronic power-down sound. ### 3. Gameplay Loop * **Core Logic**: This is a variation of the classic "Color Lines" mechanics adapted for a 7x7 grid. * **Turn-Based Action**: 1. The player selects a block. 2. The player taps an empty cell to move the block. 3. **Pathfinding constraint**: The block can *only* move to the target if there is an open path of empty cells (BFS/A* pathfinding algorithm required). It cannot jump over other blocks. * **Matching**: If the player forms a line of **4 or more** identical colors (Horizontal, Vertical, or Diagonal), those blocks disappear, the player scores points, and **no** new blocks spawn that turn. * **Spawning**: If a move results in **no match**, 3 new random colored blocks spawn in random empty spots on the grid. * *Preview*: (Optional but recommended) Show small "ghost" indicators of where the next blocks will spawn before the turn ends. * **Game Over**: The game ends when the grid is completely full and no moves are possible. ### 4. Mobile Controls & Interaction * **Input**: Raycaster implementation for Touch/Mouse events. * **Tap 1**: Select a block (Visual feedback: Block highlights/bobs). * **Tap 2**: If tapping an empty cell, attempt to move selected block. If tapping another block, switch selection. * **Orientation**: Responsive design. * **Portrait Mode**: Camera zooms out to fit the grid width-wise. UI (Score, Restart) sits at the top. * **Landscape Mode**: Grid centered, UI on the side. * **Feedback**: * **Invalid Move**: If the path is blocked, the block should shake side-to-side (negative feedback) and play a dull "error" sound. * **Path Visualization**: If possible, briefly draw a line or highlight the path the block takes while moving. * **UI**: Minimalist HTML overlay. Large text for "Score". A clean "Restart" button in the corner (min size 44px for touch). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

7x7 Ultimate is a captivating puzzle game that combines strategic block placement with satisfying match-clearing gameplay. With a solid 3.6/5 rating from players, this game offers hours of engaging puzzle-solving entertainment on a vibrant 7x7 grid.

This innovative puzzle experience challenges players to think several moves ahead, combining elements of classic block games with modern match-3 mechanics. The game features a unique grid-based system where every placement matters, making each move a strategic decision that could lead to spectacular chain reactions.

Core Features

Strategic Grid-Based Gameplay

  • 7x7 Game Board : Perfect size grid that provides challenging but manageable puzzle space
  • Colorful Block System : Vibrant colored blocks including cyan, green, pink, purple, and more
  • Match Mechanics : Create matches by strategically placing blocks of the same color
  • Chain Reactions : Set up cascading matches for higher scores and board clearing

Accessible Yet Challenging

  • Easy to Learn : Simple mouse controls make the game accessible to all skill levels
  • Hard to Master : Deep strategic elements provide long-term challenge
  • Progressive Difficulty : Each level introduces new challenges and complexity
  • Brain Training : Enhances pattern recognition and strategic planning skills

Modern Gaming Features

  • HTML5 Technology : Smooth gameplay across all modern browsers
  • Mobile Optimized : Perfect touch controls for smartphones and tablets
  • Instant Play : No downloads required - start playing immediately
  • Cross-Platform : Seamless experience on desktop, mobile, and tablet devices

Game Mechanics

The core gameplay revolves around strategic block placement on the 7x7 grid. Players must carefully consider each move, as the limited space requires efficient use of every square. The goal is to create matches of same-colored blocks, which then clear from the board, making room for new placements.

Success requires balancing immediate scoring opportunities with long-term board management. Advanced players learn to set up complex chain reactions, where clearing one set of blocks creates new matches, leading to spectacular cascading effects.

Operation Guide

Mouse Controls : - Click and Drag : Select blocks from the available pieces and drag them to desired grid positions - Strategic Placement : Position blocks to create horizontal, vertical, or diagonal matches - Grid Management : Plan ahead to avoid filling the board completely

Gameplay Tips : - Analyze the available block shapes before making moves - Look for opportunities to create multiple matches with single placements - Keep corners and edges clear when possible for maximum flexibility - Plan 2-3 moves ahead to avoid getting stuck with unplaceable pieces

Why Play 7x7 Ultimate

Perfect Brain Exercise

This game provides excellent mental stimulation, improving spatial reasoning, pattern recognition, and strategic planning skills. It's an ideal way to give your brain a workout while having fun.

Stress-Free Gaming

Unlike time-pressured puzzle games, 7x7 Ultimate allows you to think at your own pace. This makes it perfect for relaxation while still providing satisfying intellectual challenges.

Universal Appeal

With its easy-to-understand rules but deep strategic gameplay, the game appeals to casual players looking for quick entertainment and serious puzzle enthusiasts seeking complex challenges.

Anywhere, Anytime Gaming

The HTML5 format and mobile optimization mean you can enjoy 7x7 Ultimate wherever you are - during commutes, lunch breaks, or relaxing at home.

Frequently Asked Questions (FAQ)