Nonogram - Picture Cross Puzzle

Seele01-Flash
By
Nonogram is a captivating picture cross puzzle game where you fill grid squares with colors to reveal stunning hidden images. Use logic and number clues to solve each puzzle without guessing.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**3D Zen Nonogram Logic Puzzle**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A clean, "Cozy" aesthetic combining the logic of pixel art with tactile 3D elements. The game should resemble a digital graph paper notebook resting on a calm surface. * **The Grid:** Construct a 10x10 or 15x15 grid using `THREE.InstancedMesh` for performance optimization on mobile devices. Each cell should be a slightly rounded cube or tile. * *Neutral State:* White or off-white paper texture. * *Filled State:* Dark grey or black (mimicking pencil graphite) or specific colors if the puzzle is multi-colored. * *Marked State (X):* A translucent red or distinct "X" texture overlay on the tile. * **The Clues:** Use 2D Canvas textures or text sprites floating above columns and to the left of rows to display the numerical clues (e.g., "1 3 2"). * **Background:** A soothing, slowly rotating gradient background (e.g., soft blue to teal) or a low-poly abstract environment to maintain focus on the puzzle. * **Effects:** When a row or column is successfully completed, trigger a subtle particle confetti burst or a glowing "shine" effect along that line. ### 2. Audio Requirements * **BGM:** A relaxing, looped Lo-fi Hip Hop or acoustic guitar track. It should be unobtrusive to aid concentration (referencing the "Mental Game" tag). * **SFX:** * *Tap/Fill:* A satisfying "pencil scratch" or "bubble pop" sound. * *Marking X:* A soft paper crumple or wooden click. * *Error:* A gentle, low-pitched thud (not jarring). * *Completion:* A harmonious chime or chord when a row/column is solved. * *Victory:* A short, uplifting jingle. ### 3. Gameplay Loop * **Puzzle Logic:** Generate or hardcode a simple binary matrix (0 for empty, 1 for filled) representing a hidden pixel art image (e.g., a smiley face, a heart, or the face from the screenshot). Calculate the row/column number clues dynamically based on this matrix. * **Interaction:** The player must deductively decide whether to color a cell or mark it with an 'X' based on the clues. * **Lives System:** As per the description, include a "Lives/Hearts" counter (e.g., 3 lives). If the player tries to Fill a cell that should be Empty, the tile flashes red, a life is lost, and the cell is automatically marked with an X. * **Win Condition:** The level ends when all "Filled" cells match the hidden image. The grid then transforms into the full-color pixel art illustration. ### 4. Mobile Controls & Interaction * **Camera:** Use an Orthographic Camera for a precise, distortion-free view of the grid, or a Perspective Camera with a narrow FOV locked to a top-down view. Allow limited panning/zooming via `OrbitControls` (restricted polar angles) to handle larger grids on small screens. * **Touch Input Mode:** Since fingers are less precise than mice, implement a **Toggle UI Switch** at the bottom of the screen: * *Mode A (Draw):* Tapping a tile fills it. * *Mode B (Mark X):* Tapping a tile places an X (safe mode to mark empty spots). * **Hit Testing:** Use `Raycaster` for touch detection. Increase the hit-box size of the tiles slightly to make them forgiving to touch. * **Haptic Feedback:** Trigger `navigator.vibrate(10)` on every successful tap to simulate the tactile feel of physical buttons. * **Orientation:** Force Portrait mode for optimal vertical stacking of the grid and the UI controls. Ensure UI buttons (Toggle Mode, Hint, Reset) are at least 44x44 pixels in the bottom "thumb zone". Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Nonogram is a brilliant logic-based puzzle game that challenges your mind while creating beautiful pixel art. Also known as Picture Cross or Picross, this addictive puzzle game requires you to fill specific squares in a grid with colors based on numerical clues, gradually revealing a hidden picture.

Each puzzle presents a blank grid with numbers displayed along the top and left sides. These numbers are your key to solving the puzzle - they indicate how many consecutive squares should be filled in each row and column. What makes Nonogram truly special is that it's purely logic-based; no guessing required!

Core Features

Mind-Engaging Logic Puzzles

Nonogram offers the perfect blend of logical thinking and creative satisfaction. Each puzzle is a mini brain workout that improves your analytical skills while providing the rewarding experience of watching a picture emerge square by square.

Intuitive Gameplay Mechanics

The game features clean, user-friendly controls that work seamlessly on both desktop and mobile devices. Simply click or tap to fill squares, and use the hint system when you need guidance.

Progressive Difficulty System

Start with simple puzzles to learn the mechanics, then advance to more complex grids with intricate images. The game adapts to your skill level, ensuring you're always appropriately challenged.

Helpful Tools and Features

  • Hint System : Get clues when you're stuck without ruining the solving experience
  • Life Recovery : Bounce back from mistakes with the life recovery feature
  • Error Prevention : Visual feedback helps you avoid common mistakes
  • Cross-Platform Play : Enjoy seamless gaming across desktop and mobile devices

Game Mechanics

Understanding the Number Clues

The numbers along each row and column tell you exactly how many consecutive squares to fill. For example, if a column shows "5", you need to fill exactly five consecutive squares in that column. Multiple numbers indicate separate groups of filled squares with at least one empty space between them.

Strategic Solving Approach

Successful Nonogram solving requires methodical thinking: 1. Start with rows and columns that have the most restrictive clues 2. Look for patterns where numbers add up close to the total grid size 3. Use process of elimination to determine which squares must be empty 4. Work systematically rather than randomly guessing

How to Play

Basic Controls

  • Fill Squares : Click with mouse or tap on mobile devices
  • Mark Empty Squares : Place an "X" to indicate squares that should remain empty
  • Navigate Grid : Use mouse or finger gestures to move around larger puzzles
  • Access Hints : Use the hint button when you need assistance

Winning Strategy

The key to mastering Nonogram is patience and logical deduction. Always work from the clues that give you the most certainty, and build your solution methodically. Remember, every puzzle has a unique solution that can be found through pure logic.

Why Play Nonogram

Nonogram stands out as one of the most satisfying puzzle games available online. It combines the mental stimulation of sudoku with the creative joy of pixel art creation. Each completed puzzle rewards you with a beautiful image, making every solved grid feel like a small artistic achievement.

The game is completely free and requires no downloads or installations. Whether you have five minutes or an hour to spare, Nonogram adapts to your schedule with puzzles of varying complexity. It's perfect for brain training, stress relief, or simply enjoying a moment of focused, meditative gameplay.

Perfect for All Skill Levels

Whether you're new to logic puzzles or a seasoned puzzle solver, Nonogram provides an accessible entry point with room for mastery. The learning curve is gentle, but the depth of challenge ensures you'll never run out of engaging content.

Frequently Asked Questions (FAQ)