fix(W2#14): add spring and moving-platform to timing level-29 - #151
Merged
Conversation
Add mechanics to level-29.json (timing) to make the exit reachable: - Boost spring at col 8, row 9 (impulseY -440, ~6.7 tile rise) bridges the 4-row vertical gap from the spawn floor to upper platforms - Moving platform from (17,9) to (17,5) lifts the player to the exit row, making the floating exit tile standable Both mechanics are modeled by the reachability validator BFS. Verified all 1340 tests pass, typecheck clean, lint clean. Closes #138
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix W2#14 (timing, level-29.json) by adding spring and moving-platform mechanics to make the exit reachable.
Problem
Level-29 ("timing") has a 4-row vertical gap (spawn row 9, exit row 5). The player's max jump rise is 2 tiles, and the exit tile at (17, 5) has no floor beneath it — making the level unreachable.
Solution
Added two
mechanicsentries:Boost spring at tile (8, 9) —
impulseY: -440Moving platform from (17, 9) → (17, 5) — vertical lift
extraStandablemechanismValidation
Closes #138