-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Parent Issue: #180
Objective
Leverage chef physics (accel=1, decel=7) more intelligently for smoother, more efficient movement.
Current Problem
The bot doesn't fully account for:
- Asymmetric acceleration/deceleration
- Benefits of maintaining current direction
- Coasting opportunities vs hard-braking
Proposed Solution
- Direction momentum bonus: Increase score for eggs in current movement direction
- Pre-positioning: Move toward anticipated cluster centers early
- Coast-to-position: Use deceleration distance intelligently instead of overshooting and correcting
Implementation Details
- Add
calculateOptimalApproach()intests/machines/helpers.ts - Consider current speed and direction in scoring
- Add bonus for eggs requiring no direction change:
+0.3 * (currentSpeed / speedLimit) - Calculate deceleration zones and prefer natural stopping points
Impact
- Smoother movement patterns
- Better catch rates through optimal positioning
- Fewer wasted frames on direction changes
Success Metrics
- Reduced direction changes per game
- Improved catch efficiency (catches per distance traveled)
Reactions are currently unavailable