# Shikaku

> Cut the grid into rectangles, each holding one number: its size.

Also called: Rectangles, Divide by Box

Kind of puzzle: Regions

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

## Origin

Yoshinao Anpuku, a maths student at Kyoto University, invented Shikaku in 1989, and Nikoli published it and made it popular.

## Credit

- Inventor: Yoshinao Anpuku (1989)
- Popularized by: Nikoli
- Source: [Wikipedia](https://en.wikipedia.org/wiki/Shikaku)

## Rules

1. Cut the grid into rectangles (squares count).
   - ✓ Right: Rectangles
   - ✗ Wrong: Not a rectangle
2. Each rectangle holds exactly one number, and the number is its size.
   - ✓ Right: 4 and 2
   - ✗ Wrong: Wrong size

## Worked example: Boxes

A 6×6 Shikaku 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":[1,0],"kind":"number","value":8},{"at":"cell","cell":[0,5],"kind":"number","value":2},{"at":"cell","cell":[1,5],"kind":"number","value":2},{"at":"cell","cell":[5,1],"kind":"number","value":8},{"at":"cell","cell":[3,2],"kind":"number","value":2},{"at":"cell","cell":[3,3],"kind":"number","value":2},{"at":"cell","cell":[2,5],"kind":"number","value":6},{"at":"cell","cell":[4,3],"kind":"number","value":2},{"at":"cell","cell":[5,3],"kind":"number","value":2},{"at":"cell","cell":[5,4],"kind":"number","value":2}]
```

The solution is drawn on the web page: https://inkit.games/puzzles/shikaku

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

## Playing on inkit

Drag along the lines between cells to cut, or pick a color and paint cells into a group.
