Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TLTMedia/Theyr
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: TLTMedia/Theyr
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: aztec-theyr
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 10 commits
  • 194 files changed
  • 2 contributors

Commits on Feb 6, 2026

  1. Configuration menu
    Copy the full SHA
    cad6d1b View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2026

  1. Configuration menu
    Copy the full SHA
    62a503e View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2026

  1. fix: make aztec story playable with Theyr multiplayer engine

    Four issues prevented aztec-theyr from being playable:
    
    1. Modules (ClientDemo.js, th-set.js, live-update.js) were never loaded —
       rewrote Story JavaScript to use SugarCube's importScripts() with
       LoadScreen.lock(), matching elizabeth's proven pattern. All scripts
       are now guaranteed to load before any passage renders.
    
    2. build-twine.js was passing Twine/modules/ as a source directory
       (tweego ignores JS files there) instead of loading them at runtime.
       Removed the bogus arg; modules are now served via the /Twine/ static
       route and loaded dynamically.
    
    3. No Procfile — added one pointing to STORY=aztec so Heroku/Render
       serve the Aztec game instead of the demo story by default.
    
    4. Exception variables $god and $godParam were missing from the
       never-sync list, potentially leaking god-mode state to players.
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    pstdenis and claude committed Mar 10, 2026
    Configuration menu
    Copy the full SHA
    f1999fc View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2026

  1. fix: compile SugarCube modules inline instead of loading via importSc…

    …ripts
    
    live-update.js and th-set.js call Macro.add() at module scope. When loaded
    as external scripts via importScripts(), they execute before SugarCube's
    Macro global is available, causing "Macro is not defined" errors.
    
    Fix: restore Twine/modules/ to the tweego build command so all three modules
    (live-update.js, th-set.js, ClientDemo.js) are compiled inline as
    <script type="text/twine-javascript"> blocks, which run in the correct
    SugarCube lifecycle phase. Remove the redundant importScripts() calls for
    these files from 00_Setup.twee.
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    pstdenis and claude committed Mar 11, 2026
    Configuration menu
    Copy the full SHA
    82916d4 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2026

  1. fix: restore responsive 16:9 scaling and full-screen #story layout

    - #story now sized by JS (ported resize.js logic from elizabeth) instead
      of fixed 100vw/100vh, so the game scales to fit any screen while
      maintaining a strict 16:9 aspect ratio and centering with letterbox
    - html font-size scales with stageHeight/80 so all rem-based text
      stays proportional — identical behaviour to the elizabeth branch
    - CSS: remove hardcoded vw/vh dimensions, add overflow:hidden
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    pstdenis and claude committed Mar 13, 2026
    Configuration menu
    Copy the full SHA
    b9ebdad View commit details
    Browse the repository at this point in the history
  2. feat: add sequential full-playthrough Playwright test for all characters

    Each of the 15 characters is played automatically in sequence.
    One character at a time: login via ?nick=Role, navigate through
    all passages by clicking the first available link (with an optional
    DECISIONS map for specific passage choices), then "logout" by
    navigating with the next nick.
    
    - tests/aztec-playthrough.spec.js
      - 'all characters are recognised at login' smoke test
      - 'each character can reach the end' full run (all 15 in one test)
      - per-character individual tests for targeted debugging
      - stuck detection: same passage 3x in a row, or >200 steps
      - end detection: any "waking up in library" / "The End" passage
      - DECISIONS map for overriding which link to click per passage
    
    - playwright.config.js: new 'aztec' project, STORY env passthrough
    - package.json: test:aztec / test:aztec:headed / test:aztec:one scripts
    
    Run:  npm run test:aztec
    Single role: npm run test:aztec:one -- --grep "Cortes"
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    pstdenis and claude committed Mar 13, 2026
    Configuration menu
    Copy the full SHA
    d97231e View commit details
    Browse the repository at this point in the history
  3. fix: serial execution, higher timeouts, skip parallel per-character t…

    …ests
    
    - test.describe.configure({ mode: 'serial' }) prevents parallel workers
      from corrupting shared server state
    - Individual per-character tests are now skipped by default (only run
      when AZTEC_ROLE=<role> is set), avoiding duplication and race conditions
    - aztec project timeout raised to 30 min (15 chars × ~2 min worst case)
    - --workers=1 added to all test:aztec npm scripts
    - playwright.config.js: PORT env passthrough, reuseExistingServer always true
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    pstdenis and claude committed Mar 13, 2026
    Configuration menu
    Copy the full SHA
    0a34268 View commit details
    Browse the repository at this point in the history
  4. WIP game playing test

    pstdenis committed Mar 13, 2026
    Configuration menu
    Copy the full SHA
    481837e View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2026

  1. Configuration menu
    Copy the full SHA
    36d5974 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2026

  1. working test

    pstdenis committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    3ebfb17 View commit details
    Browse the repository at this point in the history
Loading