Skip to content

feat: wire control inversion into W3#8 reverse-commute (#136) - #147

Merged
sv-tmueller merged 1 commit into
mainfrom
feat/136-control-inversion
Aug 16, 2026
Merged

feat: wire control inversion into W3#8 reverse-commute (#136)#147
sv-tmueller merged 1 commit into
mainfrom
feat/136-control-inversion

Conversation

@sv-tmueller

Copy link
Copy Markdown
Owner

Summary

Wire control inversion into World 3 level #8 (reverse-commute, level-38.json).

Closes #136

Changes

  • Added a control-inversion mechanic entry (permanent, duration: -1) to src/levels/world3/level-38.json. The adapter swaps left/right inputs throughout the level as a gameplay challenge.
  • Adjusted level geometry to make the exit reachable with basic movement:
    • Added one-way platform at (17, 7) so the exit at (17, 6) has a standable surface below it.
    • Added one-way platform at (17, 8) so the intermediate position (17, 7) is also standable.
    • The player climbs from row 9 (spawn) to row 6 (exit) via two jumps: a 2-tile vertical jump to (17, 7), then a 1-tile jump to (17, 6). Both fit within the physics jump envelope.
  • The reachability validator does not model control inversion (it affects input, not path geometry), so the path is solvable with normal movement. Control inversion is purely a gameplay challenge layered on top.

Verification

  • All 1340 tests pass (npm test)
  • Lint passes (npm run lint)
  • Typecheck passes (npm run typecheck)

Add control-inversion mechanic (permanent, duration=-1) to level-38
(reverse-commute). Swap left/right inputs throughout the level as a
gameplay challenge.

Adjust geometry to make the exit reachable with basic movement:
add one-way platforms at (17,7) and (17,8) so the player can climb
from row 9 to the exit at row 6 via two jumps within the physics
envelope. The reachability validator does not model control
inversion, so the path must be solvable with normal movement.

All 1340 tests, lint, and typecheck pass.
@vercel

vercel Bot commented Aug 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pitfall Ready Ready Preview Aug 16, 2026 7:13am

@sv-tmueller
sv-tmueller merged commit 62945d8 into main Aug 16, 2026
6 checks passed
@sv-tmueller
sv-tmueller deleted the feat/136-control-inversion branch August 16, 2026 07:14
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.

feat(mechanics): wire control inversion into scene + fix W3#8 reverse-commute

1 participant