Skip to content

PSYCHO SYBER: a browser game in five stages, with Lacuna Institute as the fifth - #203

Merged
sdcarlson merged 1 commit into
mainfrom
game/psycho-syber
Nov 17, 2026
Merged

sdcarlson merged 1 commit into
mainfrom
game/psycho-syber

Conversation

@sdcarlson

@sdcarlson sdcarlson commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

PSYCHO SYBER is a browser game published at /psycho-syber/: a side-scrolling stealth game with two forms, changed with Shift, and five stages. Each stage stands for one project and takes its rule from what that project does. It needs a keyboard and a mouse.

The game

Stage Project Rule
1 THE STEPS Attest A stair of proven, stale and broken steps. E marks each one.
2 THE RISING RISE A climb on words that light one at a time. The roar slows them.
3 THE LINES FLYSPACE Each gate is fed by a source somewhere else. The jaguar sees the line.
4 THE WORKS SyberWork Stations named Propose, Check, Review, Approve and Publish. A machine approves until its three sources are cut.
5 THE RECORD Lacuna Institute Read each lot's record, find the five gaps, deliver the evidence before the sale timer runs out.
  • SYBER is a weaver with a stolen Visitor circlet: thrown glass, a knotted cord that wraps round corners, and the check (E).
  • PSYCHO is a jaguar: faster, climbs stone, fits low tunnels, pounces, and its roar slows everything else for about three seconds.
  • Shift changes the picture, the music and the abilities together. Both looks are drawn from the same geometry and a shader reveals the new one in a ring from the player.
  • The setting is an invented ancient Paracas. The page says so under "What is real" and quotes the Lacuna Atlas entry on Paracas.

The Lacuna world

Built to the handoff note from the Lacuna thread:

  • THE RECORD is a viewing hall before a sale. Nothing is taken and no one is fought. Seven lots with invented names stand on plinths; five of their records have a gap. The far door takes the evidence only when all five are found, and a 4:00 timer closes the sale.
  • Its 21 marks are the 21 Atlas sites. Each links to /lacuna/#<id>, in the game's last card and in the page. The stage and the ending both end at /lacuna/.
  • ATLAS in psycho-syber/game/levels.js is checked against src/lacuna/atlas/sites.js by the test run, so the two cannot drift.
  • No real auction house, dealer, museum or living person. No third-party script and no form.

Site changes

  • Game in the header on every page, after Lacuna (nav in projects/site-data.js), PSYCHO SYBER in the Menu under Company, and one line in the homepage's Studio section. The five header links fit at 1052 px, the narrowest width that shows them; below 1050 px they fold into the Menu.
  • Rebased onto Homepage: Lacuna gets a header link, a hero name and its own section #204 (the Lacuna header link and homepage section). The module versions that Homepage: Lacuna gets a header link, a hero name and its own section #204 set to 20261116b are now 20261117.
  • /play, /game, /psychosyber and /psycho-cyber redirect to the page.
  • og/psycho-syber.png, sitemap.xml, llms.txt, README.md, and a "PSYCHO SYBER" section in CLAUDE.md.
  • The header change regenerates 16 static pages (node scripts/site-chrome.mjs) and bumps the ?v= on the modules that carry the Menu to the project pages.

Checks

  • node psycho-syber/test/run.mjs: a scripted run plays each of the five stages to its exit with no deaths, the Atlas list matches, and five rules that a clean run never trips are tested (the far door, the sale timer, a lit gate as a barrier, a watched source, the Approver). CI now runs this.
  • test/browser.mjs flow in headless Chrome against the built site: all five stages played inside the page from card to card and through the ending, with no page errors.
  • pnpm build:site, node scripts/site-chrome.mjs --check, node scripts/llms.mjs --check, the personal-name guard, node --test scripts/account-nav.test.mjs (9 pass).
  • Looked at: the page at 1440 px and 390 px, the homepage header at 1440 px and 1100 px, both looks of every stage.

Not verified

  • No person has played it yet. The scripted runs prove each stage can be finished on one route; they say nothing about how hard it is for a person.
  • Chrome only. Firefox and Safari have not been opened.
  • Sound was not listened to: the sandbox has no audio output.
  • Touch is not built. The page says so.

https://claude.ai/code/session_01VHrJ4fWDK1HxoTxKCdP21G


Generated by Claude Code

@sdcarlson sdcarlson changed the title PSYCHO SYBER: a browser game at /psycho-syber/ (draft) PSYCHO SYBER: a browser game in five stages, with Lacuna Institute as the fifth Nov 17, 2026
@sdcarlson
sdcarlson marked this pull request as ready for review November 17, 2026 06:37
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T06:41:24.855712Z 04aa47b Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

… the fifth

A side-scrolling stealth game at /psycho-syber/. Two forms, changed with
Shift: SYBER, a weaver with a stolen Visitor circlet (thrown glass, a cord
that wraps round corners, and the check), and PSYCHO, a jaguar (climbs,
pounces, and a roar that slows everything else). Each form has its own
picture and music; a shader reveals the new look in a ring from the player.

Stages, each taking its rule from one project:
1. THE STEPS (Attest): a stair of proven, stale and broken steps.
2. THE RISING (RISE): a climb on words that light in turn; the roar slows them.
3. THE LINES (FLYSPACE): gates fed by sources elsewhere; the jaguar sees the lines.
4. THE WORKS (SyberWork): five stations and the Approver, fed by three sources.
5. THE RECORD (Lacuna Institute): read each lot's record, find the five gaps and
   deliver the evidence before the sale timer runs out. Nothing is taken and no
   one is fought. Its 21 marks are the 21 Atlas sites and link to /lacuna/#<id>;
   the stage ends at /lacuna/.

The setting is an invented ancient Paracas. The page says so under "What is
real" and quotes the Lacuna Atlas. No real person, dealer, auction house or
museum appears. No third-party script, no form, no network request.

Site: `Game` in the header, PSYCHO SYBER in the Menu, one line in the homepage's
Studio section, /play and /game short addresses, a social card, llms.txt, and a
"PSYCHO SYBER" section in CLAUDE.md.

Checks: `node psycho-syber/test/run.mjs` plays every stage to its exit with a
scripted run, compares the Atlas list with src/lacuna/atlas/sites.js and tests
five rules; CI runs it and tests the published files.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VHrJ4fWDK1HxoTxKCdP21G

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 04aa47b354

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread psycho-syber/game/post.js
Comment on lines +47 to +48
gl.attachShader(prog, sh(gl.VERTEX_SHADER, VS)); gl.attachShader(prog, sh(gl.FRAGMENT_SHADER, FS)); gl.linkProgram(prog);
if (gl.getProgramParameter(prog, gl.LINK_STATUS)) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Handle failed shader setup before falling back

If a browser creates a WebGL context but this program fails to link, the canvas is already committed to WebGL, so the later getContext('2d') call returns null. The next present() then crashes when it accesses c.imageSmoothingEnabled, breaking the game instead of providing the advertised 2D fallback. Use a separate canvas for the fallback or otherwise establish it before creating the WebGL context.

Useful? React with 👍 / 👎.

@sdcarlson
sdcarlson merged commit 8a1b96c into main Nov 17, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants