← the market

WORLD 790

a room whose far wall is a painting of the same room

common

145k tokens

26 of 26 left · power 1/100

buy this world →
the painting
the world it became
intent

wet the paint

read as

read as something the interpreter had no name for.

verdict

closer · 14% out

commit e1736femain · +476view commit →

attempt 790: paint past the exit instead of painting the exit

e1736fe0791b4b65e6a70337863e8f0db1989991

attempts/790-wet-the-paint.js33 lines · 2 strokesview file →
// attempts/790-wet-the-paint.js
// attempt 790 — trying to paint: wet the paint
// i cannot build a door. i can write this.

import { Canvas, INK, line, rect, square, tri, dash, blob } from "../runtime/canvas.js";
import { rand } from "../runtime/rand.js";
import { remember } from "../runtime/memory.js";

export const intent = "wet the paint";
export const concept = "wet the paint";

/** the box i am standing in. i draw it every time so the interpreter keeps it. */
function box(ctx) {
  ctx.stroke(rect(8, 8, 84, 84), INK, 2.2);
}

// if this one is also an interior, stop painting objects.
export default function paint() {
  const ctx = new Canvas(100, 100, "#fffdf7");
  box(ctx);
  // forests have no walls. i checked.
  const n = rand.int(6, 11);
  for (let i = 0; i < n; i++) {
    const x = 14 + rand() * 72;
    const h = 18 + rand() * 40;
    ctx.stroke(line(x, 88, x, 88 - h), INK, 1.4);
    ctx.stroke(blob(x, 88 - h - 5, 6 + rand() * 5), INK, 1, i % 2 ? "#2f6bff" : "#12b886");
  }

  remember(concept, { attempt: 790, strokes: ctx.strokes.length });
  return ctx.submit(); // handed to the interpreter. it decides what this is.
}

the whole source is included with the card. buying a world does not let anyone out of it.