Logic Puzzles 2026年9月22日 · Inquiry AI

Akari (Light Up) Puzzle Rules, Advanced Tips & Solver Logic

Master the classic Japanese Akari (Light Up) puzzle. Learn standard Nikoli rules, essential corner patterns, 0-4 wall deductions, and client-side validator heuristics.

logic puzzlesnikoligraph theoryproblem solvingspatial reasoning

Among the pantheon of Japanese Nikoli grid puzzles (alongside Sudoku, Slitherlink, and Nurikabe), Akari (Light Up) stands out for its elegant physics-inspired mechanics.

Instead of filling numbers or forming single loops, you become a lighting architect. You place light bulbs that shoot clean beams of light across an empty gallery, banishing shadows while ensuring no two bulbs clash in direct line of sight.

Whether you are a beginner seeking the official rules or an engineer intrigued by client-side puzzle validation heuristics, here is the ultimate guide to solving and mastering Akari.


1. The Three Golden Rules of Akari

Akari is played on a rectangular grid consisting of white cells and black obstacle blocks:

  1. Complete Illumination: Every single white cell must receive light from at least one bulb.
  2. Mutual Non-Aggression: No two bulbs may shine on each other. If two bulbs are in the same row or column, there must be at least one black block between them.
  3. Number Clues: Some black blocks contain a digit from 0 to 4. This digit dictates the exact number of bulbs that must be placed in the 4 adjacent orthogonal cells (North, South, East, West).

2. Four Essential Solving Deductions (Pattern Playbook)

Like Sudoku, guessing in Akari is unnecessary. Every well-designed puzzle can be unraveled through pure deductive elimination.

Pattern 1: The Zero Wall (Cross of Shadows)

Whenever you see a black square with a 0, place an X or small dot in all four adjacent orthogonal squares immediately. No bulb can ever occupy those cells.

Pattern 2: The Four Wall (Maximal Saturation)

A black square labeled 4 must have bulbs on all four sides. If a 4 appears anywhere on the grid, light bulbs are instantly locked into all four neighboring cells, immediately illuminating long horizontal and vertical avenues.

Pattern 3: Corner & Wall Proximity (The 3 Clue)

  • A 3 on the grid border only has 3 available neighbors. All three must be bulbs!
  • A 2 in a corner of the grid only has 2 available neighbors. Both must be bulbs!
  • Two diagonally touching 3s force bulbs on their outer edges to prevent cross-illumination.

Pattern 4: The Unlit Dead-End

Scan the grid for white cells that can only be illuminated from one possible cell. If an isolated white cell has walls blocking light from three directions and only one clear path, that single path must house a bulb.


3. Architecture: How Client-Side Validators Work in TypeScript

In indie puzzle engines, solvers run entirely in the browser using stateless raycasting algorithms:

// Conceptual raycasting validator in TypeScript
interface Cell {
  isWall: boolean;
  clue?: number; // 0..4
  hasBulb: boolean;
}

function validateAkariGrid(grid: Cell[][]): { valid: boolean; conflicts: Point[] } {
  const height = grid.length;
  const width = grid[0].length;
  const lit = new Set<string>();
  const conflicts: Point[] = [];

  // Step 1: Cast orthogonal rays from every bulb
  for (let r = 0; r < height; r++) {
    for (let c = 0; c < width; c++) {
      if (!grid[r][c].hasBulb) continue;
      lit.add(`${r},${c}`);
      
      const DIRS = [[-1,0],[1,0],[0,-1],[0,1]];
      for (const [dr, dc] of DIRS) {
        let nr = r + dr, nc = c + dc;
        while (nr >= 0 && nr < height && nc >= 0 && nc < width && !grid[nr][nc].isWall) {
          lit.add(`${nr},${nc}`);
          if (grid[nr][nc].hasBulb) {
            conflicts.push({ r, c }, { r: nr, c: nc });
          }
          nr += dr;
          nc += dc;
        }
      }
    }
  }

  // Step 2: Verify wall adjacency counts and total white cell illumination
  return { valid: conflicts.length === 0 && allWhiteCellsLit(grid, lit), conflicts };
}

Because raycasting terminates immediately upon encountering a wall, verification executes in under 2 milliseconds on mobile devices with zero backend API cost.


4. Play Akari Free in Your Browser

Ready to put these patterns into action? Play the interactive, ad-free Akari: Light Up Puzzle on Math Playground:

  • Real-time raycasting with warm yellow lighting feedback;
  • Instant red conflict highlights when bulbs gaze into one another;
  • 5×5 Starter levels up to 7×7 Master grids.

For additional grid-based deduction challenges, explore our Eight Queens Non-Attacking Chess Puzzle and Nurikabe Mini Island Puzzle.

常见问题

What are the core rules of Akari (Light Up)? +
You place light bulbs on empty white squares so that every white square is illuminated. Bulbs cast rays horizontally and vertically across full rows and columns until blocked by black squares. Bulbs may not shine on one another. Black squares with numbers (0-4) must have exactly that many orthogonally adjacent bulbs.
Can a light bulb illuminate a diagonal square? +
No. Light in Akari travels in orthogonal straight lines (up, down, left, right). It cannot travel diagonally or bend around corners.
What happens if a black wall has no number? +
An unnumbered black square merely acts as a light barrier. It may have any number of bulbs (0 to 4) adjacent to it, as long as other constraints and bulb line-of-sight rules are respected.
Is Akari language-independent? +
Yes! Akari is completely non-verbal. All clues are numeric (0-4) or visual (orthogonal light rays), making it universally accessible to solvers in any country.

亲自体验这套方法

查看一个思维轨迹示例,或直接进入三年级任务,生成自己的练习证据。

更多博客文章