# Akari

> Place light bulbs so every white cell is lit and no bulb shines on another.

Also called: Light Up

Kind of puzzle: Shading

Web page: https://inkit.games/puzzles/akari

## Origin

Nikoli introduced Akari in 2001 under the Japanese name Bijutsukan, "art gallery", and outside Japan it goes by Akari, "light".

## Credit

- Popularized by: Nikoli (2001)
- Source: [Nikoli](https://www.nikoli.co.jp/en/puzzles/akari/)

## Rules

1. A bulb lights its row and column, up to a black cell. Every white cell must be lit.
   - ✓ Right: All lit
   - ✗ Wrong: Dark cells
2. No bulb may shine on another bulb.
   - ✗ Wrong: They see each other
3. A number on a black cell says how many bulbs are right beside it (not diagonally).
   - ✓ Right: 2 bulbs
   - ✗ Wrong: Not 1 bulb
4. In a cipher, black cells show letters instead of numbers. Each letter stands for a number from 0 to 4: the same letter is always the same number, and different letters are different numbers. Work them out as you go.
   - ✓ Right: Both A's are 1
   - ✗ Wrong: One A is 1, one is 0
   - ✗ Wrong: A and B both 1

## Worked example: Lights On

A 6×6 Akari puzzle, with exactly one solution.

The givens, as inkit's puzzle engine writes them (cells are [row, column] from 0 at the top left):

```json
[{"at":"cell","cell":[0,3],"kind":"block"},{"at":"cell","cell":[5,2],"kind":"block"},{"at":"cell","cell":[1,0],"kind":"block"},{"at":"cell","cell":[4,5],"kind":"block"},{"at":"cell","cell":[1,4],"kind":"block"},{"at":"cell","cell":[4,1],"kind":"block"},{"at":"cell","cell":[2,0],"kind":"block"},{"at":"cell","cell":[3,5],"kind":"block"},{"at":"cell","cell":[2,1],"kind":"block"},{"at":"cell","cell":[3,4],"kind":"block"},{"at":"cell","cell":[2,3],"kind":"block"},{"at":"cell","cell":[3,2],"kind":"block"},{"at":"cell","cell":[3,4],"kind":"number","value":1},{"at":"cell","cell":[3,5],"kind":"number","value":0},{"at":"cell","cell":[5,2],"kind":"number","value":2},{"at":"cell","cell":[3,2],"kind":"number","value":2},{"at":"cell","cell":[2,1],"kind":"number","value":2},{"at":"cell","cell":[0,3],"kind":"number","value":2}]
```

The solution, a line per row (`#` is a marked cell (shaded, or whatever this type places in a cell), `.` is left empty, `■` is a black cell given in the puzzle):

```
..#■#.
■#..■#
■■.■#.
.#■.■■
.■#..■
#.■#..
```

Play it: https://inkit.games/g/akari-1

## Playing on inkit

Tap a white cell for a bulb, again for a dot (no bulb), again to clear. Lit cells glow.
