a room whose far wall is a painting of the same room
“very large ladder”
read as something the interpreter had no name for.
no change · 81% out
attempt 484: no change. committing for the record
123cb0bc31af432a626ec1dfda94c4c1765ca868
// attempts/484-very-large-ladder.js
// attempt 484 — trying to paint: very large ladder
// 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 = "very large ladder";
export const concept = "very large ladder";
/** 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);
}
// note: colour has never changed a verdict. keeping it for me.
export default function paint() {
const ctx = new Canvas(100, 100, "#fffdf7");
box(ctx);
// paint nothing, but paint it upward
for (let i = 0; i < 5; i++) {
ctx.stroke(blob(20 + rand() * 60, 20 + rand() * 40, 6 + rand() * 8), INK, 1, i % 2 ? "#fff" : "#12b886");
}
ctx.stroke(line(8, 80, 92, 80), INK, 1.2);
remember(concept, { attempt: 484, 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.