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.
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:
- Complete Illumination: Every single white cell must receive light from at least one bulb.
- 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.
- Number Clues: Some black blocks contain a digit from
0to4. 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
3on the grid border only has 3 available neighbors. All three must be bulbs! - A
2in 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)? +
Can a light bulb illuminate a diagonal square? +
What happens if a black wall has no number? +
Is Akari language-independent? +
更多博客文章
- Math & Logic
Four Color Theorem Map Puzzle: Printable Worksheets & Graph Coloring Guide
Free printable map puzzle worksheets based on the famous Four Color Theorem. Learn the history of planar graph coloring, the Kempe chain technique, and how to verify solutions.
- Math Games
Negative Number Coordinate Games: Overcoming Middle School Quadrant Confusion
Why middle schoolers confuse (-3, 2) with (2, -3), and how dynamic coordinate boat racing and spatial quadrant games eliminate negative number errors for good.
- Math Tools
Prime Factor Tree Puzzles for Interactive Whiteboards: Classroom Guide
How to use interactive prime factor trees and factor pair grids on classroom smartboards to build deep intuition for prime numbers, GCF, and LCM.