# RYB

> Paint every shape red, yellow or blue so each dot sees its color next door.

Also called: Three Coats

Kind of puzzle: Paint

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

## Origin

RYB comes from FLEB's 2016 puzzle game of the same name, and Wyatt's first puzzles of this kind were called Three Coats.

## Credit

- Inventor: FLEB (2016)
- Source: [RYB](https://rawg.io/games/ryb)

## Rules

1. Paint every piece red, yellow or blue.
2. A dot asks for a neighbour of its color: two red dots need at least two red neighbours. Neighbours share an edge, not just a corner.
   - ✓ Right: Red and blue beside
   - ✗ Wrong: No blue beside
3. A wrong color is turned away and costs a heart. Right colors lock in.

## Worked example: Hexagon

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

The solution, a line per row:

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

Play it: https://inkit.games/g/coats-2

## Playing on inkit

Pick a pot (or press R, Y or B), then tap a piece.
