Undeemiss
8d026e4f10
Randomized the order of the edges as well as the vertices
...
Previously, edge order would stay constant while vertex order was
shuffled. This way, there is even less opportunity for a player to
reverse-engineer the initial bipartite graph.
2022-04-20 21:23:55 -05:00
Undeemiss
951221578a
Implemented no solution case of 2-coloring contract checker
...
Implemented a greedy 2-coloring algorithm to check whether a given
graph is 2-colorable. The algorithm is only used if the player
provides "[]" as their answer; other answers will be checked using
the previously implemented validation code.
2022-04-20 20:54:07 -05:00
borisflagell
e05617d9d3
UI FIX #3415
...
fixes #3415
2022-04-21 00:18:15 +02:00
Undeemiss
bdfd102085
Partially implemented solver for 2-coloring contract
...
Implemented the case for the 2-coloring solver to validate that
entered colorings are proper. Still needs a case for when no
solution exists.
Also, changed the data from type [number, number][] to
[number, [number, number][]], so that the number of vertices in
the graph can be the first parameter.
2022-04-20 17:01:35 -05:00
hydroflame
80f037bfdb
Merge pull request #3523 from taralx/patch-5
...
MISC: upgrade to eslint v8
2022-04-20 13:06:32 -04:00
hydroflame
307ec7961a
Merge pull request #3524 from Snarling/realignAutocomplete
...
UI: FIX #3522 realigned autocomplete popup
2022-04-20 13:05:27 -04:00
hydroflame
84eb4379d8
Merge pull request #3525 from Snarling/GhostDirectoryFix
...
TERMINAL: FIX #3492 Allow cd .. even when destination directory is empty
2022-04-20 13:05:19 -04:00
Olivier Gagnon
070a68a3b0
allbuild commit 2922eb49
2022-04-20 12:28:24 -04:00
Snarling
3f53a1f090
Format+lint
2022-04-20 10:05:55 -04:00
Snarling
16e507127a
Allow cd .. into empty directories
2022-04-20 10:03:51 -04:00
Snarling
5898e27529
Change alignment of autocomplete popper
2022-04-20 09:19:33 -04:00
phyzical
adbd6c3486
spelling mistakes and description updates
2022-04-20 20:12:43 +08:00
phyzical
8e1300d69d
Merge branch 'dev' into feature/add-infiltration-faction
...
# Conflicts:
# src/Netscript/RamCostGenerator.ts
2022-04-20 20:10:05 +08:00
Undeemiss
a97f864e14
Implemented generator for 2-coloring contract
...
Implemented the generator for a new contract type. For now, has
a description and solution checker designed only for testing. The
generator creates a bipartite graph with random edges, then
attempts to add one additional edge without regard for the partite
sets. It then randomizes the vertices of the graph to make reverse-
engineering the original partite sets impossible.
The shuffling algorithm is adapted from stack overflow code, but
really, what isn't?
2022-04-20 00:24:18 -05:00
hydroflame
4ea7a4d7a8
Merge pull request #3517 from taralx/patch-1
...
MISC: make jQuery use explicit
2022-04-19 22:31:30 -04:00
hydroflame
ee5a3ea52c
Merge pull request #3521 from taralx/patch-4
...
MISC: update @types/numeral and fix type errors
2022-04-19 22:29:56 -04:00
hydroflame
db15744f5f
Merge pull request #3513 from Undeemiss/join-stanek-api
...
STANEK: FIX #3282 Added NS function stanek.acceptGift
2022-04-19 22:29:10 -04:00
JP Sugarbroad
53d8807e78
upgrade to eslint v8
...
We need newer typescript parsers, which needs newer eslint.
2022-04-19 17:18:43 -07:00
JP Sugarbroad
d5be70e886
update @types/numeral and fix type errors
2022-04-19 17:07:51 -07:00
Olivier Gagnon
2922eb4923
Added bitnode difficulty descriptions on the bitverse.
2022-04-19 19:24:37 -04:00
JP Sugarbroad
9be9b26916
Adjust deps to current usage
...
depcheck is useful here. Has some false reports, but there are some
unused packages and some missing ones. Also I moved types to dev-
dependencies because we don't use them at runtime.
2022-04-19 16:20:35 -07:00
JP Sugarbroad
01d7ac6967
make jQuery use explicit
2022-04-19 16:14:16 -07:00
Olivier Gagnon
7674c7f693
rm console log
2022-04-19 17:21:22 -04:00
Olivier Gagnon
eb778aafa9
refactor bitnode multiplier code to have less side effect.
2022-04-19 17:17:08 -04:00
Undeemiss
6d55bfe795
Removed redundant check for whether the player is in CotMG
2022-04-19 13:39:56 -05:00
Undeemiss
707e643c7d
Merge branch 'dev' of https://github.com/Undeemiss/bitburner into join-stanek-api
2022-04-19 13:38:14 -05:00
Undeemiss
b3e83dd976
Added check for aug status to stanek.acceptGift
...
Added a check to stanek.acceptGift for aug status. It's not
particularly elegant, but I copied the checks from the ui. Also
changed the way CotMG status is checked to be more robust.
2022-04-19 13:33:07 -05:00
Undeemiss
46a90e6271
Added ns function stanek.acceptGift
...
Added a new ns function stanek.acceptGift to the game, with a ram
cost of 2gb. The function attempts to join the CotMG and install
the gift, then returns true iff the player is in the CotMG and has
the gift installed.
2022-04-19 12:08:38 -05:00
hydroflame
657a9a9a96
Merge pull request #3511 from nickofolas/improvement/backup-color
...
UI: Change text color of Augmentations page backup button
2022-04-19 11:10:05 -04:00
hydroflame
d37a4eea38
Merge pull request #3510 from Risenafis/fix-covenant-icon
...
UI: Fix the achievement covenant icon was not shown
2022-04-19 11:09:52 -04:00
hydroflame
81a4f42bf0
Merge pull request #3512 from nickofolas/fix/stats-page-bn-level
...
MISC: Update logic for stats page BitNode level
2022-04-19 11:09:31 -04:00
nickofolas
75ce3f2346
Use same BN level logic as save name generator
2022-04-19 09:57:26 -05:00
nickofolas
aee413e2e3
Change text color of backup save button
2022-04-19 09:50:25 -05:00
Risenafis
bb978b9420
fix covenant achievement icon path
2022-04-19 22:03:20 +09:00
hydroflame
40febcf22e
Merge pull request #3488 from Snarling/touchScreenTailFix
...
UI: FIX #3341 Enable touch-clicks in react-draggable
2022-04-18 20:52:09 -04:00
hydroflame
ae3c6194f1
Merge pull request #3505 from nickofolas/improvement/settings-ui
...
UI: Overhaul GameOptions UI
2022-04-18 20:51:50 -04:00
hydroflame
534d535c09
Merge pull request #3507 from Snarling/multipleJobsFix
...
WORK: FIX #3435 Quitting the active job now sets first remaining job as active
2022-04-18 20:51:41 -04:00
Snarling
bd07dea516
Fix quitting active job
...
When quitting active job, if there is another job, set the first remaining job as active.
2022-04-18 19:55:37 -04:00
nickofolas
af461d5e45
Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/settings-ui
2022-04-18 12:04:46 -05:00
Olivier Gagnon
bc10d30d43
allbuild commit 00628a8c
2022-04-18 12:48:17 -04:00
hydroflame
00628a8c1c
Merge pull request #3503 from nickofolas/fix/editor-theme-migration
...
EDITOR: FIX #3502 Editor theme migration crash
2022-04-18 12:45:49 -04:00
nickofolas
7054c9daef
Fix editor theme migration
2022-04-18 11:44:00 -05:00
Olivier Gagnon
cae1a9a92c
allbuild commit 3a467b94
2022-04-18 12:03:33 -04:00
hydroflame
3a467b945f
Merge pull request #3500 from danielyxie/revert-3479-patch-1
...
Revert "MISC: HammingCodingContracts need rework"
2022-04-18 12:01:17 -04:00
hydroflame
b49b5ba269
Revert "MISC: HammingCodingContracts need rework"
2022-04-18 12:01:10 -04:00
Olivier Gagnon
0d7276b76f
allbuild commit d5b296dd
2022-04-18 11:06:45 -04:00
Olivier Gagnon
d5b296ddc3
update donations
2022-04-18 11:04:40 -04:00
Olivier Gagnon
3286d85744
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-04-18 11:04:19 -04:00
hydroflame
2333630635
Merge pull request #3471 from MartinFournier/tools/validate-pr
...
TOOLING: Add GitHub action to validate PR titles
2022-04-18 11:03:52 -04:00
hydroflame
5d23926556
Merge pull request #3479 from Hedrauta/patch-1
...
MISC: HammingCodingContracts need rework
2022-04-18 11:03:41 -04:00