# Abstract Art

> Paint every cell so each row and column has its share of each color: half and half, a third of each, or whatever the puzzle asks.

Kind of puzzle: Paint

Web page: https://inkit.games/puzzles/abstract-art

## Origin

Abstract Art comes from Beast Academy's maths puzzle books for kids and works like the Binary Puzzle with more colors and other shares.

## Credit

- Popularized by: Beast Academy (Art of Problem Solving)
- Source: [Beast Academy Puzzles 3](https://beastacademy.com/books/puzzles3)

## Rules

1. Paint every cell. Every row and every column has the share of each color the puzzle asks for, like half blue and half yellow.
   - ✓ Right: Half and half
   - ✗ Wrong: Too much yellow
2. Shares can be thirds too: a third of each of three colors, or a third blue and two thirds yellow.
   - ✓ Right: A third each
   - ✗ Wrong: No yellow in row 2
   - ✓ Right: ⅓ blue, ⅔ yellow
3. Some puzzles add the Binary Puzzle's rules: no three in a row of one color, or no two rows (or columns) alike. The rules under the puzzle say which.
   - ✗ Wrong: Three blue in a row

## Worked example: Thirds

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

The solution, a line per row:

```
1 2 1 3 3 2
2 1 2 1 3 3
3 2 3 1 2 1
3 1 1 2 2 3
1 3 3 2 1 2
2 3 2 3 1 1
```

## Playing on inkit

Pick a pot (or press 1, 2 or 3), then tap or drag across cells to paint them. The same color again clears a cell.
