# Yajilin

## Rules

Blacken some white cells and then draw a single closed loop (without intersections or crossings) through all remaining white cells. Loop paths must be orthogonal. Blackened cells cannot share an edge with each other. Some cells are outlined and in gray and cannot be part of the loop. Numbered arrows in such cells indicate the total number of blackened cells along the direction of the arrow, starting in the arrowed cell and going along a row or column to the edge of the grid.

(Rules and example from PGP IB)

## History of the puzzle

First appeared on Nikoli volume 86 (1999). Invented by 天歩 ("Tenpo"). The name ヤジリン ("Yajilin") is formed from a contraction of two words, 矢印 ("yajirushi," "arrow") and リング ("ring").

The concept of arrows combined with numbers derives from an earlier puzzle Yajisan Kazusan.

## Variants

### Regional Yajilin

Invented by Naoki Inaba (Japan) under the name ブロックボックス (Block Box).[1] First appeared in 2005.

The name Regional Yajilin was given by Prasanna Seshadri (India) when he independently invented it in 2012[2] and this name was popularised after Borders & Beyond contest[3] on Logic Masters India. Consequently this puzzle is known as a Yajilin variant, despite the lack of arrows (Yaji part of the name).

Shade in some cells. Shaded cells are not allowed to be orthogonally adjacent. Draw a closed loop that passes through all the remaining cells. A number in a region indicate the number of shaded cells in that region.

(Rules from Borders & Beyond IB, example from Naoki Inaba's website)

### Transparent Yajilin

First appeared on 2016 Polish Nationals.[4] Author of the puzzle was Prasanna Seshadri (India).

Blacken some white cells and draw a closed loop passing through centres of all remaining white cells horizontally or vertically. Blackened cells cannot share an edge with each other. The loop can pass through clue cells, and clue cells that are not passed through must be blackened. Numbered arrows in white cells indicate the total number of blackened cells in the direction pointed at by the arrow. Numbers in blackened clue cells do not necessarily have to be satisfied.

(Rules and example from WPC 2017 IB)