Repository navigation
[14/16] feat: patrol and charge with autonomous rovers - #145
Merged
Merged
Conversation
Use authored rover spawns and patrol ranges, a half-second lidar tell, straight charges and a measured 31 by 25 pixel body. Register three-hit chair targets and contact damage; play the wreck poses and emit one defeat event. Reset normal rovers on player death and document controller tuning with a reference comparison. Typecheck, 113 tests, build and docs pass. Guard, pogo and shared fluid integration remain for their assigned issues.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@Vatsal2005 must be a member of the arudaev's projects team on Vercel to deploy. Learn more about collaboration on Vercel and other options here. |
This was referenced Oct 23, 2026
10 of 12 tasks
Carry human-merged lane A changes upward without rewriting published commits.
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.
What and why
Autonomous rovers now patrol their authored decks, spot the hero ahead, turn the lidar red and rear for 0.5s before a straight charge. Three accepted chair hits play the five wreck poses and emit one
enemy-defeatedpayload. Living contact costs one battery cell; normal rovers reset when the hero dies.The controller uses real collision spawns and patrol endpoints, a measured 31×25px standing body, documented movement speeds and native approved poses. Rovers expose chair targets through the existing combat registry. This draft leaves the guard, pogo and shared fluid consumer for their assigned follow-up issues.
Issue
Closes #45
Refs #40, #41, #48
Stack
Base:
feature/43-coffee-save. Human merges bottom up; retarget the next PR to main and merge origin/main into every open branch, never rebase.Acceptance and remaining integration
Verification
npm run typecheck,npm test(113 tests),npm run build; includes main integration at e8577abpy -3.13 scripts/check_docs.pygit diff --cached --checkrover-test: real patrol, charge, contact damage and a sweep reducing the real rover to 2/3 HP. Later player death resets it to 3/3. A full sweep-only clear remains unchecked; the controller has not been called complete.Reference comparison
Plan and measured tuning: docs/05 rover controller.
Reproduce:
python scripts/compare.py lineup enemy-rover:idle-00 enemy-rover:drive-00 enemy-rover:charge-00 enemy-rover:charge-01 enemy-rover:charge-02 enemy-rover:wreck-04 --out game/verification/45-rover-pose-compare.png.Idle measures 31×25px. The approved charge poses lower the mast and measure 18–21px high; their native pixels remain intact while the standing collision body stays 31×25. The red lidar points left and dust trails right, so the renderer mirrors rightward motion. No atlas or lane A changes. Browser capture is retained in ignored
tmp/verification/45-rover-sweeps.png; it shows a successful hit and the ongoing encounter, not a completed tutorial clear.