Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLADEBURNER: Refactor BB console commands out of Bladeburner.ts #1668

Closed

Conversation

Alpheus
Copy link
Contributor

@Alpheus Alpheus commented Sep 28, 2024

No NS api changes. Impacted functionality is fully test-covered.

Motivation

This is the biggest move out of Bladeburner.ts so far.
We're almost sub-1k lines from originally 1500, a solid 25% decrease.

Cohesion has increased considerably with this change as the console commands can all run through a single public API and do not require all the implementation details or help in the main Bladeburner file.

Review suggestions

The added files in Console/Commands are kept original verbatim except for translating this. to blade.
Github diff doesn't show that very well.

No NS api changes. Impacted functionality is fully test-covered.
@Alpheus
Copy link
Contributor Author

Alpheus commented Oct 5, 2024

I was hoping the tests would expedite this change. Seems I was wrong, will re-do.

@Alpheus Alpheus closed this Oct 5, 2024
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