Commit Graph

5929 Commits

Author SHA1 Message Date
nickofolas
16d47543c4 Update Game Timer 2022-04-24 16:50:51 -05:00
nickofolas
320d6943de Update Wire Cutting Game 2022-04-24 16:50:19 -05:00
nickofolas
13d7f6d4e9 Update Minesweeper Game 2022-04-24 14:58:59 -05:00
nickofolas
b3879e386f Update Cyberpunk2077 Game 2022-04-24 14:57:18 -05:00
nickofolas
4bf6acf95c Update Cheat Code Game 2022-04-24 14:54:43 -05:00
nickofolas
2d90d41b4e Update Bribe Game 2022-04-24 14:52:58 -05:00
nickofolas
082b4abe71 Update Backward Game 2022-04-24 14:50:55 -05:00
nickofolas
43e2fc8d87 Update Bracket Game 2022-04-24 14:43:19 -05:00
nickofolas
0396e4066c Update Slash Game 2022-04-24 14:38:45 -05:00
nickofolas
217f6d1e57 Update basic Game code 2022-04-24 14:38:39 -05:00
hydroflame
ab034f6f1a
Merge pull request #3549 from nickofolas/fix/infiltration-games
INFILTRATION: Fix minigame cycle
2022-04-24 02:40:30 -04:00
nickofolas
b076a6489a Fix infiltrations only using wirecutting game 2022-04-23 18:44:04 -05:00
hydroflame
69781359d5
Merge pull request #3543 from danielyxie/infiltrators
INFILTRATION: New faction, Shadows of Anarchy, provides various augs to help infiltrations.
2022-04-22 17:37:17 -04:00
hydroflame
ab0d37c990
Merge branch 'dev' into infiltrators 2022-04-22 17:33:35 -04:00
Olivier Gagnon
de05245e2a lint 2022-04-22 17:31:46 -04:00
Olivier Gagnon
bc890c31c5 lint 2022-04-22 17:20:01 -04:00
Olivier Gagnon
f6e5f719d1 infiltration API fixes. 2022-04-22 17:12:14 -04:00
Olivier Gagnon
9fdfb77dd4 Update infiltrators 2022-04-22 15:30:49 -04:00
hydroflame
5490d8c837
Merge pull request #3533 from Undeemiss/minor-typo-on-old-doc
DOCUMENTATION: FIX #3516 "cannot" misspelled as "cannnot"
2022-04-21 17:08:29 -04:00
Undeemiss
11f65fdcba Fixed typo of "cannot" as "cannnot" 2022-04-21 15:24:36 -05:00
hydroflame
9b6b9e96cd
Merge pull request #3531 from Undeemiss/2-coloring-description
CODINGCONTRACT: Updated description of 2-coloring contract
2022-04-21 11:50:05 -04:00
Undeemiss
dabf7098db
Reworded "plotting functions" as simply "plotting" 2022-04-21 10:40:21 -05:00
Undeemiss
399f8614e8 Formatted and linted; I forgot to last commit 2022-04-21 10:35:14 -05:00
Undeemiss
f482e0c4a9 Updated description of 2-coloring contract
Fixed a couple of incorrect statements in the 2-coloring contract
description, as well as rephrasing some things for clarity.
2022-04-21 10:32:57 -05:00
hydroflame
b7e319f360
Merge pull request #3530 from Undeemiss/2-coloring-contract
CODINGCONTRACT: New "Proper 2-Coloring of a Graph" contract
2022-04-21 00:48:46 -04:00
hydroflame
11fef3825c
Merge pull request #3519 from taralx/patch-3
MISC: Adjust deps to current usage
2022-04-21 00:32:34 -04:00
Undeemiss
6685e8dc46 Added a description for the 2-coloring contract 2022-04-20 22:06:32 -05:00
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
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