Repository navigation
PSYCHO SYBER: a browser game in five stages, with Lacuna Institute as the fifth - #203
Conversation
d40cd80 to
04aa47b
Compare
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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
There was a problem hiding this comment.
💡 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".
| 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)) { |
There was a problem hiding this comment.
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 👍 / 👎.
b45a886 to
6ce9840
Compare
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
The Lacuna world
Built to the handoff note from the Lacuna thread:
/lacuna/#<id>, in the game's last card and in the page. The stage and the ending both end at/lacuna/.ATLASinpsycho-syber/game/levels.jsis checked againstsrc/lacuna/atlas/sites.jsby the test run, so the two cannot drift.Site changes
Gamein the header on every page, afterLacuna(navinprojects/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.20261116bare now20261117./play,/game,/psychosyberand/psycho-cyberredirect to the page.og/psycho-syber.png,sitemap.xml,llms.txt,README.md, and a "PSYCHO SYBER" section inCLAUDE.md.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 flowin 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).Not verified
https://claude.ai/code/session_01VHrJ4fWDK1HxoTxKCdP21G
Generated by Claude Code