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? +
更多博客文章
- 数学资料
Lazy Math Guide PDF:General Mathematics 数学手册下载
下载 LazyMath 的 General Mathematics UDF Guide v1.5 英文原版 PDF,共 64 页。查看适用科目、文件版本与 TI-Nspire CAS 安装入口。
- 学习工具对比
Knowt 与 Gizmo 怎么选:数学学习的导入、练习、导师和导出
按任务比较 Knowt 与 Gizmo 官方帮助中心公开的导入格式、免费练习边界、AI 导师与 PDF 导出,不把未知功能写成已支持。 读完后可进入间隔复习方法,用 10-15 分钟可视化练习把文章建议变成可观察的学习行动。
- 学习方法
间隔复习法怎么用在数学上:一份可调整的复习安排
用日历安排数学回忆练习,并区分口诀记忆与分数概念理解。附三次复习示例、错题处理和真实练习入口。 读完后可进入乘法表练习,用 10-15 分钟可视化练习把文章建议变成可观察的学习行动。