Bitburner source code.
Go to file
Snarling e0272ad4af
FILES: Path rework & typesafety (#479)
* Added new types for various file paths, all in the Paths folder.
* TypeSafety and other helper functions related to these types
* Added basic globbing support with * and ?. Currently only implemented for Script/Text, on nano and download terminal commands
* Enforcing the new types throughout the codebase, plus whatever rewrites happened along the way
* Server.textFiles is now a map
* TextFile no longer uses a fn property, now it is filename
* Added a shared ContentFile interface for shared functionality between TextFile and Script.
* related to ContentFile change above, the player is now allowed to move a text file to a script file and vice versa.
* File paths no longer conditionally start with slashes, and all directory names other than root have ending slashes. The player is still able to provide paths starting with / but this now indicates that the player is specifying an absolute path instead of one relative to root.
* Singularized the MessageFilename and LiteratureName enums
* Because they now only accept correct types, server.writeToXFile functions now always succeed (the only reasons they could fail before were invalid filepath).
* Fix several issues with tab completion, which included pretty much a complete rewrite
* Changed the autocomplete display options so there's less chance it clips outside the display area.
* Turned CompletedProgramName into an enum.
* Got rid of programsMetadata, and programs and DarkWebItems are now initialized immediately instead of relying on initializers called from the engine.
* For any executable (program, cct, or script file) pathing can be used directly to execute without using the run command (previously the command had to start with ./ and it wasn't actually using pathing).
2023-04-24 10:26:57 -04:00
.github Changelog update and steam dev updater v2 2023-03-11 17:07:08 -05:00
assets Merge pull request #2820 from MartinFournier/chore/declutter 2022-01-26 12:56:37 -05:00
dist Upgrade monaco and bump game version to 2.3.0dev (#369) 2023-02-23 21:43:29 -05:00
doc quick docfix 2023-03-21 21:25:24 -04:00
electron debugAccelerator: (#471) 2023-04-11 15:10:07 -04:00
lore Fix tons of typos 2022-10-09 01:25:31 -04:00
markdown SINGULARITY: Added aug and node identifiers (timestamps of last resets) (#472) 2023-04-12 13:13:42 -04:00
src FILES: Path rework & typesafety (#479) 2023-04-24 10:26:57 -04:00
test FILES: Path rework & typesafety (#479) 2023-04-24 10:26:57 -04:00
tools Changelog update and steam dev updater v2 2023-03-11 17:07:08 -05: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 Change tests 2023-02-04 07:42:35 -05:00
.eslintrc.js INFRA: Update everything except React (#312) 2023-01-08 02:36:55 -05:00
.gitattributes Allow drag on character overview 2022-01-10 07:37:01 -05:00
.gitignore my bad 2023-03-18 12:15:00 +02: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 Change tests 2023-02-04 07:42:35 -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
favicon.ico fix build 2022-01-27 20:44:50 -05:00
FixJSDOMEnvironment.ts TEST: Add a NS2 test (finally) (#458) 2023-04-01 07:45:23 -04:00
jest.config.js TEST: Add a NS2 test (finally) (#458) 2023-04-01 07:45:23 -04:00
license.txt Change license to Apache 2 with Commons Clause 2022-03-08 02:42:43 -08:00
package-lock.json SCRIPTS: Script modules are reused when they are imported (#461) 2023-04-07 00:33:51 -04:00
package.json Upgrade monaco and bump game version to 2.3.0dev (#369) 2023-02-23 21:43:29 -05:00
README.md Updated ReadTheDocs links 2023-01-06 15:24:10 +02:00
requirements.txt Massive doc update 2023-01-06 14:43:09 +02:00
tsconfig.json NETSCRIPT: Compiled modules will be even more shared (#468) 2023-04-07 21:08:39 -04:00
tsdoc-metadata.json UI: Added new locale-aware and configurable number formatting (#354) 2023-02-11 13:18:50 -05:00
webpack.config.js Fix broken devServer config 2023-04-07 07:43:39 -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/ (release build), https://bitburner-official.github.io/bitburner-src/ (development build), or installed through Steam. The location of the release build may change in the near future.

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 in #suggestions or #development on Discord to help coordinate the effort.