Bitburner source code.
Go to file
Snarling 8e0e0eaa88
NETSCRIPT: ns.sleeve.getSleeve added. getPlayer and getSleeve can both be used for formulas. (#200)
* BREAKING CHANGE: Removed getSleeveStats and getSleeveInformation because this info is provided by getSleeve in a more usable form.
* BREAKING CHANGE: Removed tor, inBladeburner, and hasCorporation fields from ns.getPlayer. Functionality still exists via added functions ns.hasTorRouter, ns.corporation.hasCorporation, and ns.bladeburner.inBladeburner.
* Separated ns definitions for Person, Sleeve, and Player interfaces with both Player and Sleeve just extending Person.
Added getSleeve, which provides a Sleeve object similar to getPlayer.
* Renamed the sleeve ns layer's interface as sleeve lowercase because of name conflict. todo: May move all the ns layers interface names to lowercase for consistency
* Added ns.formulas.work.crimeSuccessChance and reworked to allow both sleeve and player calculations.
* Removed internal Person.getIntelligenceBonus function which was just a wrapper for calculateIntelligenceBonus. Any use of the former in formulas creates a conflict where ns-provided Person objects throw an error.
* Renamed helpers.player to helpers.person for netscript person validation. Reduced number of fields validated due to Person being a smaller interface.
* Fixed bug in bladeburner where Player multipliers and int were being used no matter which person was performing the task
* Fixed leak of Player.jobs at ns.getPlayer
* Person / Player / Sleeve classes now implement the netscript equivalent interfaces. Netscript helper for person no longer asserts that it's a real Person class member, only that it's a Person interface. Functions that use netscript persons have been changed to expect just a person interface to prevent needing this incorrect type assertion.
2022-11-09 07:26:26 -05:00
.github DEV: Attempt new yml for deploy to gh pages (#150) 2022-10-24 09:51:22 -04:00
assets Merge pull request #2820 from MartinFournier/chore/declutter 2022-01-26 12:56:37 -05:00
dist Remove bundle files (#140) 2022-10-24 08:05:30 -04:00
doc DOC: Improve CCT documentation for HammingCodes (#167) 2022-10-30 04:24:09 -04:00
electron 🔖 Build v1.6.4 2022-04-13 12:32:26 -04:00
lore Fix tons of typos 2022-10-09 01:25:31 -04:00
markdown Revert "Remove markdown from git tracking (#139)" 2022-10-21 11:16:00 -04:00
src NETSCRIPT: ns.sleeve.getSleeve added. getPlayer and getSleeve can both be used for formulas. (#200) 2022-11-09 07:26:26 -05:00
test Fix Tutorial Ram Text (#162) 2022-10-27 06:25:45 -04:00
tools Wrap up v2.1.0 2022-09-23 15:00:20 -04:00
.browserslistrc update browserlist 2022-04-12 14:59:53 -04:00
.dockerignore Add basic docker support for development 2021-05-10 08:54:25 -04:00
.editorconfig Set default editorconfig to indent_size=2 2021-12-17 09:54:32 -05:00
.eslintignore Move cypress & netscript tests to ./test subfolder 2022-01-26 05:35:21 -05:00
.eslintrc.js add eslint strict 2022-10-16 14:32:01 -04:00
.gitattributes Allow drag on character overview 2022-01-10 07:37:01 -05:00
.gitignore Remove bundle files (#140) 2022-10-24 08:05:30 -04:00
.nojekyll Disable Jekyll in GitHub Pages builds 2021-12-20 07:26:20 -05:00
.npmrc Add npm version support to build releases 2022-04-07 07:50:47 -04:00
.prettierignore Allow drag on character overview 2022-01-10 07:37:01 -05:00
.prettierrc Allow drag on character overview 2022-01-10 07:37:01 -05:00
api-extractor.json npm run doc work now 2021-11-02 14:42:41 -04:00
babel.config.js fix sleeve memory bug 2021-09-08 23:47:34 -04:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-03-07 18:22:26 -05:00
cypress.json Move cypress & netscript tests to ./test subfolder 2022-01-26 05:35:21 -05:00
favicon.ico fix build 2022-01-27 20:44:50 -05:00
jest.config.js Fix alias not working in test suite 2022-10-19 12:45:40 -04:00
license.txt Change license to Apache 2 with Commons Clause 2022-03-08 02:42:43 -08:00
package-lock.json update html-webpack-plugin version 2022-11-03 08:02:39 -04:00
package.json update html-webpack-plugin version 2022-11-03 08:02:39 -04:00
README.md Rename lots of reference from old to new repo 2022-10-20 03:56:59 +11:00
requirements.txt maybe fix rtd 2021-11-02 15:51:18 -04:00
tsconfig.json Make the main player object an alias, makes it easier to import 2022-10-09 18:42:14 -04:00
tsdoc-metadata.json update doc 2022-03-17 16:50:46 -04:00
webpack.config.js Make the main player object an alias, makes it easier to import 2022-10-09 18:42:14 -04:00

Bitburner

Join Discord

Build Status

Bitburner is a programming-based incremental game that revolves around hacking and cyberpunk themes. The game can be played at https://danielyxie.github.io/bitburner or installed through Steam.

See the frequently asked questions for more information . To discuss the game or get help, join the official Discord server.

Documentation

The game's official documentation can be found on Read The Docs. Please note that this is still a work-in-progress.

The in-game documentation is generated from the TypeScript definitions.

Anyone is welcome to contribute to the documentation by editing the source files and then making a pull request with your contributions. For further guidance, please refer to the "As A Documenter" section of CONTRIBUTING.

Contribution

There are many ways to contribute to the game. It can be as simple as fixing a typo, correcting a bug, or improving the UI. For guidance on doing so, please refer to the CONTRIBUTING document.

You will retain all ownership of the Copyright of any contributions you make, and will have the same rights to use or license your contributions. By submitting a pull request you agree to grant me perpetual, worldwide, non-exclusive, transferable, royalty-free, and irrevocable rights to use, publish, and distribute your contributions to the project. A formal Contributor's License Agreement will be drawn up in the future.

If you would like to make significant contributions to the project as a collaborator, please reach out to @danielyxie to help coordinate the effort.