Give someone GameBuilder tokens. They build real software with frontier AI, and then they find out how it works.
They describe a game and a frontier model writes it. Then they open its code and see what every part does, and take a tour of the model that wrote it. That is how software gets written now, and this is their first go at it.
Playing is always free. New accounts start with 250 GameBuilder tokens.
Bright Ideas
Drag to walk. Grab the gold GameBuilder tokens and touch a gloomy neighbour to hand one over. They walk to the GameBuilder, build something and light up.
Wait too long and they turn into scroll zombies. One GameBuilder token brings even a zombie back.
One minute. Arrow keys work too.
Lights on
0
Now do it for real: 1,000 GameBuilder tokens is a first game and plenty of changes.
One sentence in. A frontier model plans the game, writes every line of code, plays it to check it works and fixes what it finds. Then you change it by saying so. The game it builds is the one above, and the code on screen is its real code.
A short illustration of a build, made from the builder’s own steps; a real first build takes a few minutes. Download the video to share it.
This is how software gets written now
A programmer today spends the day saying what software should do, working with an AI model that writes it, testing it, changing it in small steps and reading what was written until they understand it. GameBuilder is that job, made into play. Here is where each part happens.
1
Say what it should do
You type a sentence
Every program starts as a description. Programmers call it a spec; here it is a sentence in plain words.
2
Write the code
A frontier model writes it
The model writes the whole game in JavaScript, the language the web runs on: hundreds of lines, from scratch. Which model writes it is yours to pick.
3
Test it
Every build is played
Bots play each build three ways: a good player, a random thumb and one that does nothing. What breaks gets fixed before you see it.
4
Change it in small steps
You talk, it makes versions
Ask for a change and you get a new version, tested again. Small, checked steps are how every software team ships.
5
Understand what it wrote
Open Code on the game
Every line is there. The Code view takes the game apart, a part at a time, and answers questions about it. Reading what a model wrote is half the job now.
6
Ship it
Publish, and send the link
A published game has its own link and its own HiScore board. Real players, on real phones, no app.
The Code view
Then they open the code
Every game built from scratch has a Code view. On a computer it opens over the whole screen: the game’s parts down one side, every line of its code in the middle, and the game still playing in the corner. It is there for one thing, finding out how your own game works.
The Code view on a computer, open on Bright Ideas, the game at the top of this page.
1
How it works
The game taken apart into its parts. Open one and its lines light up, with what they do said in plain words.
<>
The code
Every line the model wrote, there to read. A value that glows is safe to change, and has a dial.
2
Your turn
Questions that check it landed, and small jobs to try. Turn a dial and the game in the corner plays the change.
3
Ask the bots
Ask anything about the code, typed or out loud. The answer points at the lines it is about.
On a phone it is the fourth tab.
Nobody types code here, and that is the point
A lot of software is now written by telling a model what you want, then reading and steering what it writes. The telling is easy to pick up. The reading is what makes someone a builder, and it is what the Code view is for: they come away knowing what a game loop is, what a value is, and why a change they asked for did what it did.
The tour of the code, the questions, the dials, saving and playing are free. Asking the bots uses GameBuilder tokens, by what the model used.
Written the way GameBuilder writes every game, one file with init, update and draw, and it passes the same build check.
bright-ideas.js638 lines
// Bright Ideas: drag to walk the town, pick up gold GameBuilder tokens and touch a gloomy neighbour to hand one over.// They walk to the GameBuilder, build something and light up. Wait too long and they turn into scroll zombies.constCAB = { x: 180, y: 352, w: 96, h: 92 }; // the GameBuilder cabinet, centred on x, its base at yconstDOOR = { x: 180, y: 372 }; // where a builder stands to buildconstLEFT = 16;constRIGHT = 344;constFLOOR = 626;constME_R = 16;constFOLK_R = 15;constSIZE = 1.3; // how big people are drawn, from their feetconstCARRY_MAX = 5;constWALK = 190; // your speed, units a secondconstGLOOM_SPEED = 14;constGOING_SPEED = 46;constZOMBIE_SPEED = 24;constLIT_SPEED = 30;constBUILD_TIME = 1.3;constLIGHT_R = 70; // the glow round a lit neighbour, where nobody dimsconstHUES = ['#ffd36e', '#ff6fb5', '#5ac8fa', '#5be49b', '#b48cff', '#ff9f43'];constTREES = [[34, 180], [326, 196], [30, 470], [330, 500], [96, 600], [262, 604]];constLAMPS = [[70, 268], [290, 268], [70, 452], [290, 452]];const game = {init(api) {const state = { score: 0, lit: 0, given: 0, zombies: 0, cured: 0, combo: 0, lastLit: -99, best: 0, me: { x: 180, y: 560, carry: 0, slow: 0, face: 1 }, folks: [], chips: [], fx: [], nextFolk: 3, nextChip: 1.2, ids: 0, banner: 3, };for (let i = 0; i < 5; i++) addFolk(state, api, api.range(40, 320), api.range(160, 500), api.range(0, 0.35));for (let i = 0; i < 3; i++) addChip(state, api);return state; },update(state, input, api) {const me = state.me;const dt = api.dt;// You walk toward the finger while it is down; arrow keys work too.let speed = WALK * (me.slow > 0 ? 0.45 : 1) * dt;if (input.down) {const d = api.dist(me.x, me.y, input.x, input.y);if (d > 2) {const step = Math.min(d, speed); me.x += ((input.x - me.x) / d) * step; me.y += ((input.y - me.y) / d) * step;if (Math.abs(input.x - me.x) > 3) me.face = input.x > me.x ? 1 : -1; } } elseif (input.pad) {const px = (input.pad & 8 ? 1 : 0) - (input.pad & 4 ? 1 : 0);const py = (input.pad & 2 ? 1 : 0) - (input.pad & 1 ? 1 : 0);const n = Math.sqrt(px * px + py * py) || 1; me.x += (px / n) * speed; me.y += (py / n) * speed;if (px) me.face = px; }keepOut(me, api); me.slow = Math.max(0, me.slow - dt);// Gold GameBuilder tokens turn up around town, never under your feet.if (api.time >= state.nextChip) {if (state.chips.length < 4) addChip(state, api); state.nextChip = api.time + 2.6; }for (const c of state.chips) c.life -= dt; state.chips = state.chips.filter((c) => {if (c.life <= 0) returnfalse;if (me.carry < CARRY_MAX && api.hitCircles(me.x, me.y, ME_R + 8, c.x, c.y, 11)) { me.carry += 1;pop(state, c.x, c.y - 14, '+1', '#ffd36e'); api.sound('tap');returnfalse; }returntrue; });// More neighbours wander in, quicker as the round goes on.if (api.time >= state.nextFolk) {const waiting = state.folks.filter((f) => f.kind !== 'lit').length;if (waiting < 12) enterFolk(state, api); state.nextFolk = api.time + Math.max(2.4, 5 - api.time * 0.05); }const dimRate = 1 / Math.max(15, 26 - api.time * 0.2);const lights = state.folks.filter((f) => f.kind === 'lit');for (const f of state.folks) { f.t += dt;if (f.kind === 'gloom') {// Gloomy: shuffle about, dimming, unless someone's light is near.const lit = lights.some((l) => api.dist(l.x, l.y, f.x, f.y) < LIGHT_R) || api.dist(me.x, me.y, f.x, f.y) < 46; f.dim += dimRate * (lit ? 0.25 : 1) * dt;wander(f, api, GLOOM_SPEED);if (f.dim >= 1) { f.kind = 'zombie'; state.zombies += 1;pop(state, f.x, f.y - 50, 'Scroll zombie!', '#9be27a'); api.sound('lose'); } } elseif (f.kind === 'zombie') {// Zombies shuffle at the nearest gloomy neighbour, and scrolling is catching.let near = null;let nd = 9999;for (const g of state.folks) {if (g.kind !== 'gloom') continue;const d = api.dist(f.x, f.y, g.x, g.y);if (d < nd) { nd = d; near = g; } }if (near && nd < 220) moveTo(f, near.x, near.y, ZOMBIE_SPEED, api);elsewander(f, api, ZOMBIE_SPEED * 0.6);if (near && nd < FOLK_R * 2) near.dim = Math.min(1, near.dim + 0.35 * dt * 4);if (me.carry === 0 && me.slow <= 0 && api.hitCircles(me.x, me.y, ME_R, f.x, f.y, FOLK_R)) { me.slow = 1;pop(state, me.x, me.y - 40, 'Ugh, a zombie hug', '#9be27a'); api.sound('hurt'); } } elseif (f.kind === 'going') {// A GameBuilder token in hand: straight to the GameBuilder.if (moveTo(f, DOOR.x + f.slot, DOOR.y, GOING_SPEED, api) < 3) { f.kind = 'build'; f.t = 0; api.sound('powerup'); } } elseif (f.kind === 'build') {if (f.t >= BUILD_TIME) lightUp(state, f, api); } elseif (f.kind === 'lit') {// Lit up: the brain grows, they glow, and after a while they go and tell a friend. f.brain = Math.min(1, f.brain + dt * 1.6);if (f.t > 9) {moveTo(f, f.x < 180 ? -30 : 390, f.y, LIT_SPEED * 1.4, api); } else {wander(f, api, LIT_SPEED); } }if (f.kind !== 'lit' || f.t <= 9) keepOut(f, api); } state.folks = state.folks.filter((f) => f.x > -20 && f.x < 380);// Touch a neighbour with a GameBuilder token in hand to give it to them. Even a zombie.for (const f of state.folks) {if (me.carry === 0) break;if ((f.kind === 'gloom' || f.kind === 'zombie') && api.hitCircles(me.x, me.y, ME_R + 4, f.x, f.y, FOLK_R)) { me.carry -= 1; state.given += 1; state.score += 10; f.wasZombie = f.kind === 'zombie';if (f.wasZombie) { state.zombies -= 1; state.cured += 1; } f.kind = 'going'; f.slot = api.pick([-26, -9, 9, 26]);pop(state, f.x, f.y - 50, f.wasZombie ? 'Back from the scroll!' : 'For me?', '#ffd36e'); api.sound('point'); } }if (api.time - state.lastLit > 5) state.combo = 0;for (const p of state.fx) { p.y -= 26 * dt; p.life -= dt; } state.fx = state.fx.filter((p) => p.life > 0); state.banner = Math.max(0, state.banner - dt); },draw(ctx, state, api) {const glow = Math.min(1, state.lit / 14);// The town square at night, warming up as it lights up. ctx.fillStyle = '#151a2c'; ctx.fillRect(0, api.top, api.width, api.height - api.top); ctx.strokeStyle = 'rgba(255, 255, 255, 0.035)'; ctx.lineWidth = 1;for (let r = 60; r < 420; r += 44) { ctx.beginPath(); ctx.arc(CAB.x, CAB.y, r, 0, Math.PI * 2); ctx.stroke(); } ctx.fillStyle = `rgba(255, 196, 110, ${0.1 * glow})`; ctx.fillRect(0, api.top, api.width, api.height - api.top);// Pools of light: under every lit neighbour, round you, and round the lamps that are on. ctx.globalCompositeOperation = 'lighter';for (const f of state.folks) if (f.kind === 'lit') pool(ctx, f.x, f.y - 8, LIGHT_R, f.hue, 0.28 * f.brain);pool(ctx, state.me.x, state.me.y - 8, 54, '#fff1c9', 0.22);LAMPS.forEach(([x, y], i) => {if (state.lit > i * 3 + 2) pool(ctx, x, y + 10, 64, '#ffd36e', 0.3); }); ctx.globalCompositeOperation = 'source-over';for (const [x, y] ofTREES) { ctx.fillStyle = '#0f2a22'; ctx.beginPath(); ctx.arc(x, y, 22, 0, Math.PI * 2); ctx.arc(x + 14, y + 8, 16, 0, Math.PI * 2); ctx.fill(); }LAMPS.forEach(([x, y], i) => {const on = state.lit > i * 3 + 2; ctx.fillStyle = '#3a3f55'; ctx.fillRect(x - 2, y - 26, 4, 30); ctx.fillStyle = on ? '#ffe7a3' : '#2a2f42'; ctx.beginPath(); ctx.arc(x, y - 30, 6, 0, Math.PI * 2); ctx.fill(); });for (const c of state.chips) {if (c.life < 2 && api.tick % 20 < 8) continue;drawChip(ctx, c.x, c.y + Math.sin(api.time * 4 + c.x) * 2, 11); }// Everyone, back to front, with the GameBuilder and you among them.const order = state.folks.slice(); order.push({ kind: 'cabinet', y: CAB.y }, { kind: 'me', y: state.me.y }); order.sort((a, b) => a.y - b.y);for (const f of order) {if (f.kind === 'cabinet') drawCabinet(ctx, state, api);elseif (f.kind === 'me') drawMe(ctx, state.me, api);elsedrawFolk(ctx, f, api); }if (state.combo >= 2) { ctx.fillStyle = 'rgba(255, 211, 110, 0.22)'; ctx.font = 'bold 64px system-ui, sans-serif'; ctx.textAlign = 'right'; ctx.textBaseline = 'top'; ctx.fillText('x' + state.combo, 348, api.top + 8); } ctx.textAlign = 'center'; ctx.textBaseline = 'middle';for (const p of state.fx) { ctx.globalAlpha = Math.max(0, Math.min(1, p.life * 1.5)); ctx.font = 'bold 15px system-ui, sans-serif'; ctx.fillStyle = p.color; ctx.fillText(p.text, api.clamp(p.x, 80, 280), Math.max(api.top + 14, p.y)); } ctx.globalAlpha = 1;if (state.banner > 0) { ctx.globalAlpha = Math.min(1, state.banner); ctx.fillStyle = 'rgba(0, 0, 0, 0.55)'; ctx.fillRect(20, api.top + 16, 320, 58); ctx.fillStyle = '#ffd36e'; ctx.font = 'bold 18px system-ui, sans-serif'; ctx.fillText('Give them GameBuilder tokens!', 180, api.top + 36); ctx.fillStyle = '#ffffff'; ctx.font = '14px system-ui, sans-serif'; ctx.fillText('Grab the gold chips, then touch someone sad', 180, api.top + 58); ctx.globalAlpha = 1; } },hud(state) {return [ { label: 'TO GIVE', value: state.me.carry }, { label: 'LIT', value: state.lit }, { label: 'ZOMBIES', value: state.zombies }, ]; },detail(state) {return`${state.lit} lit up · ${state.cured} back from the scroll`; },demo(state, api) {// A good neighbour: fetch a GameBuilder token when out, then go to whoever is dimmest.const me = state.me;let tx = 180;let ty = 520;let best = -9;if (me.carry > 0) {for (const f of state.folks) {if (f.kind !== 'gloom' && f.kind !== 'zombie') continue;const want = f.dim + (f.kind === 'zombie' ? 0.5 : 0) - api.dist(me.x, me.y, f.x, f.y) / 300;if (want > best) { best = want; tx = f.x; ty = f.y; } } }if (me.carry === 0 || best === -9) {let nd = 9999;for (const c of state.chips) {const d = api.dist(me.x, me.y, c.x, c.y);if (d < nd) { nd = d; tx = c.x; ty = c.y; } } }const wobble = Math.sin(api.tick / 40) * 10;return { x: Math.round(tx + wobble), y: Math.round(ty - wobble * 0.5), down: api.tick % 400 > 30 }; },};functionaddFolk(state, api, x, y, dim) { state.ids += 1; state.folks.push({ id: state.ids, x, y, kind: 'gloom', dim, t: 0, brain: 0, slot: 0, wasZombie: false, hue: HUES[state.ids % HUES.length], wx: x, wy: y, step: api.range(0, 6), });}functionenterFolk(state, api) {// From a side, or from the top of the square, so nobody appears out of nowhere.const side = api.int(0, 2);const x = side === 0 ? LEFT : side === 1 ? RIGHT : api.range(60, 300);const y = side === 2 ? api.top + 56 : api.range(190, 560);addFolk(state, api, x, y, api.range(0.1, 0.3));}functionaddChip(state, api) {for (let tries = 0; tries < 12; tries++) {const x = api.range(36, 324);const y = api.range(190, 600);const clear = api.dist(x, y, state.me.x, state.me.y) > 90 && !api.hitCircleRect(x, y, 16, CAB.x - CAB.w / 2, CAB.y - CAB.h, CAB.w, CAB.h + 24);if (clear) { state.chips.push({ x, y, life: 12 });return; } }}functionlightUp(state, f, api) { f.kind = 'lit'; f.t = 0; f.dim = 0; state.lit += 1; state.combo = api.time - state.lastLit <= 5 ? Math.min(5, state.combo + 1) : 1; state.best = Math.max(state.best, state.combo); state.lastLit = api.time;const points = 100 * state.combo + (f.wasZombie ? 50 : 0); state.score += points;pop(state, f.x, f.y - 56, '+' + points + ' Lit up!', f.hue); api.sound(state.combo >= 3 ? 'combo' : 'win');// Paying it forward: a new builder often leaves a GameBuilder token for the next one.if (api.chance(0.55) && state.chips.length < 6) state.chips.push({ x: CAB.x + api.pick([-70, 70]), y: CAB.y + api.range(20, 60), life: 12 });}functionwander(f, api, speed) {if (api.dist(f.x, f.y, f.wx, f.wy) < 6 || api.chance(0.002)) { f.wx = api.clamp(f.x + api.range(-90, 90), LEFT + 10, RIGHT - 10); f.wy = api.clamp(f.y + api.range(-90, 90), api.top + 60, FLOOR - 10); }moveTo(f, f.wx, f.wy, speed, api);}functionmoveTo(o, x, y, speed, api) {const d = api.dist(o.x, o.y, x, y);if (d > 0.5) {const step = Math.min(d, speed * api.dt); o.x += ((x - o.x) / d) * step; o.y += ((y - o.y) / d) * step; }return d;}functionkeepOut(o, api) { o.x = api.clamp(o.x, LEFT, RIGHT); o.y = api.clamp(o.y, api.top + 56, FLOOR);// Nobody walks through the GameBuilder: push out of its footprint, the shortest way.const l = CAB.x - CAB.w / 2 - 6;const r = CAB.x + CAB.w / 2 + 6;const t = CAB.y - 30;const b = CAB.y + 8;if (o.x > l && o.x < r && o.y > t && o.y < b) {const out = [o.x - l, r - o.x, o.y - t, b - o.y];const m = Math.min(out[0], out[1], out[2], out[3]);if (m === out[0]) o.x = l;elseif (m === out[1]) o.x = r;elseif (m === out[2]) o.y = t;else o.y = b; }}functionpop(state, x, y, text, color) {if (state.fx.length < 12) state.fx.push({ x, y, text, color, life: 1.1 });}functionpool(ctx, x, y, r, color, alpha) {const g = ctx.createRadialGradient(x, y, 0, x, y, r); g.addColorStop(0, color); g.addColorStop(1, 'rgba(0, 0, 0, 0)'); ctx.globalAlpha = Math.max(0, Math.min(1, alpha)); ctx.fillStyle = g; ctx.beginPath(); ctx.arc(x, y, r, 0, Math.PI * 2); ctx.fill(); ctx.globalAlpha = 1;}functiondrawChip(ctx, x, y, r) {// A GameBuilder token: a gold chip with a bolt on it. ctx.fillStyle = '#ff9f43'; ctx.beginPath(); ctx.arc(x, y + 2, r, 0, Math.PI * 2); ctx.fill(); ctx.fillStyle = '#ffd36e'; ctx.beginPath(); ctx.arc(x, y, r, 0, Math.PI * 2); ctx.fill(); ctx.fillStyle = '#1b1300'; ctx.beginPath(); ctx.moveTo(x + r * 0.15, y - r * 0.65); ctx.lineTo(x - r * 0.4, y + r * 0.1); ctx.lineTo(x, y + r * 0.1); ctx.lineTo(x - r * 0.15, y + r * 0.65); ctx.lineTo(x + r * 0.4, y - r * 0.1); ctx.lineTo(x, y - r * 0.1); ctx.closePath(); ctx.fill();}functionmix(a, b, t) {const pa = [parseInt(a.slice(1, 3), 16), parseInt(a.slice(3, 5), 16), parseInt(a.slice(5, 7), 16)];const pb = [parseInt(b.slice(1, 3), 16), parseInt(b.slice(3, 5), 16), parseInt(b.slice(5, 7), 16)];const k = Math.max(0, Math.min(1, t));return`rgb(${Math.round(pa[0] + (pb[0] - pa[0]) * k)}, ${Math.round(pa[1] + (pb[1] - pa[1]) * k)}, ${Math.round(pa[2] + (pb[2] - pa[2]) * k)})`;}functiondrawFolk(ctx, f, api) { ctx.save(); ctx.translate(f.x, f.y); ctx.scale(SIZE, SIZE); ctx.translate(-f.x, -f.y);paintFolk(ctx, f, api); ctx.restore();}functionpaintFolk(ctx, f, api) {const lit = f.kind === 'lit';const zombie = f.kind === 'zombie';const bob = Math.sin(f.t * (lit ? 9 : 4) + f.step) * (lit ? 2 : 1);const slump = lit || f.kind === 'going' || f.kind === 'build' ? 0 : 3;const x = f.x;const y = f.y + bob;const body = lit ? f.hue : zombie ? '#46523f' : mix('#59607a', '#3f4a3c', f.dim);const skin = lit ? '#ffd9b8' : zombie ? '#8fbf74' : mix('#9aa0b6', '#7d9a6a', f.dim);const head = lit ? 9 + 2 * f.brain : 9; ctx.fillStyle = 'rgba(0, 0, 0, 0.35)'; ctx.beginPath(); ctx.ellipse(x, f.y + 2, 11, 4, 0, 0, Math.PI * 2); ctx.fill();// How close a gloomy neighbour is to the scroll: a ring at their feet, red near the end.if (f.kind === 'gloom' && f.dim > 0.15) { ctx.strokeStyle = f.dim > 0.75 ? '#ff4d5e' : 'rgba(255, 255, 255, 0.35)'; ctx.lineWidth = 2; ctx.beginPath(); ctx.arc(x, f.y, 15, -Math.PI / 2, -Math.PI / 2 + Math.PI * 2 * f.dim); ctx.stroke(); } ctx.fillStyle = body; ctx.beginPath(); ctx.ellipse(x, y - 10 + slump * 0.5, 9, 11, 0, 0, Math.PI * 2); ctx.fill();if (zombie) {// Arms out, a phone in hand, its glow on the face. ctx.strokeStyle = skin; ctx.lineWidth = 4; ctx.beginPath(); ctx.moveTo(x - 6, y - 14); ctx.lineTo(x - 2, y - 20); ctx.moveTo(x + 6, y - 14); ctx.lineTo(x + 2, y - 20); ctx.stroke(); ctx.fillStyle = '#1b2230'; ctx.fillRect(x - 5, y - 26, 10, 7); ctx.fillStyle = api.tick % 30 < 15 ? '#6fd3ff' : '#9fe4ff'; ctx.fillRect(x - 4, y - 25, 8, 5); }const hy = y - 26 + slump; ctx.fillStyle = skin; ctx.beginPath(); ctx.arc(x, hy, head, 0, Math.PI * 2); ctx.fill(); ctx.strokeStyle = '#141824'; ctx.fillStyle = '#141824'; ctx.lineWidth = 1.6;if (lit) {// Happy eyes, and the brain, growing. ctx.beginPath(); ctx.arc(x - 3.5, hy + 1, 2, Math.PI, 0); ctx.moveTo(x + 5.5, hy + 1); ctx.arc(x + 3.5, hy + 1, 2, Math.PI, 0); ctx.stroke();drawBrain(ctx, x, hy - head + 1, 4 + 7 * f.brain); } elseif (zombie) { ctx.fillStyle = '#e8fff0'; ctx.fillRect(x - 5, hy - 1, 3, 3); ctx.fillRect(x + 2, hy - 1, 3, 3); } else {// Droopy eyes and a small frown. ctx.beginPath(); ctx.moveTo(x - 5, hy - 1); ctx.lineTo(x - 2, hy); ctx.moveTo(x + 5, hy - 1); ctx.lineTo(x + 2, hy); ctx.moveTo(x - 2.5, hy + 5); ctx.quadraticCurveTo(x, hy + 3, x + 2.5, hy + 5); ctx.stroke(); }if (f.kind === 'gloom' && f.dim > 0.25) {// A little rain cloud, darker the gloomier they get.const c = Math.round(120 - 70 * f.dim); ctx.fillStyle = `rgb(${c}, ${c + 6}, ${c + 18})`; ctx.beginPath(); ctx.arc(x - 5, hy - 20, 6, 0, Math.PI * 2); ctx.arc(x + 4, hy - 22, 7, 0, Math.PI * 2); ctx.arc(x + 10, hy - 19, 5, 0, Math.PI * 2); ctx.fill(); ctx.strokeStyle = 'rgba(120, 170, 255, 0.7)'; ctx.lineWidth = 1;const fall = (api.tick % 24) / 24; ctx.beginPath();for (let i = -1; i <= 1; i++) { ctx.moveTo(x + i * 5, hy - 14 + fall * 6); ctx.lineTo(x + i * 5 - 1, hy - 10 + fall * 6); } ctx.stroke(); }if (f.kind === 'going') drawChip(ctx, x, hy - 22 + Math.sin(f.t * 8) * 2, 7);if (lit && f.brain < 1) { ctx.strokeStyle = f.hue; ctx.lineWidth = 2; ctx.globalAlpha = 1 - f.brain; ctx.beginPath(); ctx.arc(x, hy, 14 + 30 * f.brain, 0, Math.PI * 2); ctx.stroke(); ctx.globalAlpha = 1; }}functiondrawBrain(ctx, x, y, s) { ctx.fillStyle = '#ff8fc8'; ctx.beginPath(); ctx.arc(x - s * 0.45, y, s * 0.6, 0, Math.PI * 2); ctx.arc(x + s * 0.45, y, s * 0.6, 0, Math.PI * 2); ctx.arc(x, y - s * 0.35, s * 0.6, 0, Math.PI * 2); ctx.fill(); ctx.strokeStyle = '#c94f8f'; ctx.lineWidth = 1.2; ctx.beginPath(); ctx.moveTo(x, y - s * 0.8); ctx.quadraticCurveTo(x - s * 0.3, y - s * 0.2, x, y + s * 0.4); ctx.stroke();}functiondrawCabinet(ctx, state, api) {const x = CAB.x - CAB.w / 2;const y = CAB.y - CAB.h;const building = state.folks.some((f) => f.kind === 'build');pool(ctx, CAB.x, CAB.y - 30, 90, '#7c5cff', building ? 0.5 : 0.28);const g = ctx.createLinearGradient(0, y, 0, CAB.y); g.addColorStop(0, '#7c5cff'); g.addColorStop(1, '#3b2a99'); ctx.fillStyle = g; ctx.fillRect(x, y, CAB.w, CAB.h); ctx.fillStyle = '#ffffff'; ctx.font = 'bold 14px system-ui, sans-serif'; ctx.textAlign = 'center'; ctx.textBaseline = 'middle'; ctx.fillText('GameBuilder', CAB.x, y + 13);// Its screen: a cursor waiting, or code pouring in while someone builds. ctx.fillStyle = '#0b0b14'; ctx.fillRect(x + 10, y + 26, CAB.w - 20, 44);if (building) {const colors = ['#5ac8fa', '#ff6fb5', '#ffd36e', '#5be49b'];for (let i = 0; i < 6; i++) {const w = 12 + ((i * 37 + api.tick) % 46); ctx.fillStyle = colors[(i + (api.tick >> 4)) % 4]; ctx.fillRect(x + 14 + (i % 2) * 8, y + 30 + i * 6.5, w, 3); } } elseif (api.tick % 60 < 30) { ctx.fillStyle = '#5be49b'; ctx.fillRect(x + 15, y + 34, 6, 10); } ctx.fillStyle = '#2a1f73'; ctx.fillRect(x + 6, y + 76, CAB.w - 12, 10);// Two GameBuilder bots, hovering, busier while someone builds.for (const side of [-1, 1]) {const bx = CAB.x + side * (CAB.w / 2 + 14);const by = y + 18 + Math.sin(api.time * (building ? 9 : 3) + side) * (building ? 5 : 3); ctx.fillStyle = '#e9eaf0'; ctx.beginPath(); ctx.arc(bx, by, 9, 0, Math.PI * 2); ctx.fill(); ctx.fillStyle = '#0d0d12'; ctx.fillRect(bx - 6, by - 3, 12, 6); ctx.fillStyle = side < 0 ? '#ffd36e' : '#5ac8fa'; ctx.fillRect(bx - 4, by - 2, 2, 4); ctx.fillRect(bx + 2, by - 2, 2, 4); ctx.fillRect(bx - 1, by - 15, 2, 6); }}functiondrawMe(ctx, m, api) {// You: the one with the light, carrying the GameBuilder tokens you have to give. ctx.save(); ctx.translate(m.x, m.y); ctx.scale(SIZE, SIZE); ctx.translate(-m.x, -m.y);paintMe(ctx, m, api); ctx.restore();}functionpaintMe(ctx, m, api) {const y = m.y + Math.sin(api.time * 10) * (m.slow > 0 ? 0.5 : 1.5); ctx.fillStyle = 'rgba(0, 0, 0, 0.35)'; ctx.beginPath(); ctx.ellipse(m.x, m.y + 2, 12, 4, 0, 0, Math.PI * 2); ctx.fill(); ctx.fillStyle = m.slow > 0 ? '#9be27a' : '#ffffff'; ctx.beginPath(); ctx.ellipse(m.x, y - 11, 10, 12, 0, 0, Math.PI * 2); ctx.fill(); ctx.fillStyle = '#ffe2c4'; ctx.beginPath(); ctx.arc(m.x, y - 29, 10, 0, Math.PI * 2); ctx.fill(); ctx.fillStyle = '#141824'; ctx.fillRect(m.x - 4 + m.face, y - 31, 2.5, 4); ctx.fillRect(m.x + 2 + m.face, y - 31, 2.5, 4);// The lantern.const lx = m.x + m.face * 14; ctx.strokeStyle = '#ffffff'; ctx.lineWidth = 2; ctx.beginPath(); ctx.moveTo(m.x + m.face * 8, y - 14); ctx.lineTo(lx, y - 10); ctx.stroke(); ctx.fillStyle = '#ffe7a3'; ctx.beginPath(); ctx.arc(lx, y - 6, 5, 0, Math.PI * 2); ctx.fill();for (let i = 0; i < m.carry; i++) drawChip(ctx, m.x, y - 48 - i * 6, 7);}
The model tour
And they meet the model
What wrote their game is an AI model, and GameBuilder shows them how one works. In nine stops they get to be the model: pick what comes next, try a bigger one, find what came out different from what they pictured, and see what each one costs. It is free, and you can take it right here.
1You are choosing a brain
2The brain has a team
3It writes one piece at a time
4It will get something different
5It reads the whole page, every time
6A bigger brain holds more at once
7So what? It depends on the change
8Every piece has a price
9So, which model?
What it leaves them with: a model is not magic. It writes one piece at a time, it fills the gaps in what you said with picks of its own, and a bigger one costs more for every piece. Knowing that is knowing how to work with one.
A true story
Jon’s daughter has built three games.
Jon is a friend of ours. His daughter built a game with GameBuilder, then a second, then a third. One of them has been played by a lot of people, because it is a fun game.
Three games is where an arcade starts on HiScore. That is what a few GameBuilder tokens can turn into.
Who to give it to
Anyone who would like to find out they can build software. The only thing to learn first is to say what you want.
A teen full of ideas
They already know what makes a game fun. Now they find out they can make one, and what the code behind it is doing.
A parent or a grandparent
Nothing to install and no jargon. If they can send a text, they can build with frontier AI, and see what all the talk is about.
A class, a club, a library
A gift link each and an afternoon. Everyone ships a game, opens its code, and explains one thing in it to the person beside them.
Younger kids, side by side
Accounts are for 13 and up, so build together: you hold the account, they call the shots. Playing is free, with no sign-up.
Be the light for someone
Your friends, your family, your community: give them GameBuilder tokens and show them what is so exciting about building with AI.
Pick an amount. $10 for 1,000, $25 for 2,500, $50 for 5,000 GameBuilder tokens, or any whole-dollar amount.
Write a note. Who it is for, who it is from, and a line of your own.
Send the link. They tap it, sign in with a code, and the GameBuilder tokens are theirs. Then they build.
The gift kit is a HiScore tee and 1,000 GameBuilder tokens in one box, $39, with the gift code on a note inside.
1,000GameBuilder tokens$10
2,500GameBuilder tokens$25
5,000GameBuilder tokens$50
Questions
Do they need to know how to code?
No. They say what they want in plain words, and a model writes the code. The Code view then shows them how it works, a part at a time, in plain words too.
Will they learn to code?
They learn how code works, on a game they care about: what its parts are, which one runs 120 times a second, what a value is and what changing it does. They do not type code. They learn to say what they want, read what came back and steer it, which is how a lot of software is built now.
Is it really writing software?
Yes. Every game is a program written from scratch by a frontier AI model, tested by playing it, changed a version at a time, and published at its own link. What is different from a programmer’s day is that you steer in plain words.
What do GameBuilder tokens buy?
Building, and asking the bots a question about the code. A quick game takes about 100–300 GameBuilder tokens and a change a few dozen, so 1,000 GameBuilder tokens is a first game and plenty of changes. Playing, the tour of the code, its dials and the model tour are free.
How old do you have to be?
Accounts, and so building, are for 13 and up. Anyone can play, with no sign-up. For a younger builder, build together on your account.
Can they try it before I give anything?
Yes. Every new account starts with 250 GameBuilder tokens, free, enough for a first game. A gift on top is what lets them keep going.