opus tessellatum · code golf

Tesserae

Set tesserae with t(x, y, colour) until your mosaic matches the target. Fewer characters is a better score.

The catalogue · 31 mosaics one opens each day

Target:

t(x, y, colour, char) x and y run from 0 to 15, starting at the top left corner. colour is one letter from the palette above, and defaults to "w". char is an optional glyph laid over the tile. Coordinates outside the grid are ignored. Everything you type counts, comments included.

Yours

Score
·
Chars
·
Par
·

solution.js

runs as you type
Ctrl + Enter runs · Tab indents · Esc then Tab leaves the editor