Skip to content

Conversation

@Jayasurya003
Copy link

@Jayasurya003 Jayasurya003 commented Sep 10, 2025

Insert a level 3 to Baby Steps tower and shift subsequent levels WarriorJS

Description

This PR introduces a new Level 3 ("Healing Intro") to the Baby Steps tower in WarriorJS.
The level is designed to gently teach players how to manage health using warrior.rest(), without overwhelming them.

Motivation

The goal is to gradually introduce the healing mechanic so new players aren’t immediately confronted with multiple enemies or high-damage encounters.
By starting with low health and only two sludges, players are encouraged to use warrior.rest() and develop a survival strategy.

Key Changes

  • New Level 3: Healing Intro

    • Warrior starts with low health (10 HP) in a 6×1 hallway.
    • Two sludges positioned along the path.
    • Players must use warrior.rest() strategically to survive both encounters.
    • Level description and tip emphasize health management and healing.
  • Level Renumbering

    • All subsequent levels are shifted up by one index (old Level 3 → Level 4, etc.) to maintain sequential progression.
  • Updated Package README

    • Added a "Levels" section documenting the new Level 3.
    • Includes description, tip, floor map, and warrior abilities.
    • Noted that all subsequent levels are renumbered.

Testing

  • Verified locally that the new level appears and works as intended in both the CLI and the generated profile README.
  • Confirmed that only the intended files were updated—no unrelated changes included.

Impact

This addition ensures a smoother learning curve and prevents overwhelming new players, while introducing the important healing mechanic at the right time.


@codecov
Copy link

codecov bot commented Sep 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (master@ec531b4). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #268   +/-   ##
=========================================
  Coverage          ?   92.39%           
=========================================
  Files             ?       92           
  Lines             ?     1091           
  Branches          ?      165           
=========================================
  Hits              ?     1008           
  Misses            ?       68           
  Partials          ?       15           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant