Michael Ficocelli
5d486e3914
BUGFIX: fix exploit where favor limit from IPvGO was removed on augmentation ( #2050 )
...
* IPVGO: fix exploit where favor cap was reset on augmentation
* IPVGO: fix exploit where favor cap was reset on augmentation
* IPVGO: linting
* IPvGO: only reset No AI with ResetStats unless specified otherwise
2025-03-31 13:30:55 -07:00
Michael Ficocelli
12d18c21f1
IPVGO: Clarify how favor is gained from wins ( #2051 )
2025-03-29 20:21:05 -07:00
Michael Ficocelli
17ffabdfa5
IPVGO: Add new analysis method to set a custom testing board state ( #2029 )
2025-03-22 23:52:26 -07:00
Michael Ficocelli
19f859ae87
IPVGO: Ensure there is always at least one offline node ( #2030 )
2025-03-17 15:59:19 -07:00
Michael Ficocelli
47b34c8563
BUGFIX: Ensure that IPvGO promises are initialized correctly on a new save and on fluming ( #2032 )
2025-03-17 15:55:32 -07:00
wasniahC
76f614761d
updated "getCornerMove" second "if" to correct coordinates for top left corner move ( #2027 )
2025-03-14 14:56:20 -07:00
David Walker
db74fae2b7
Fix first-time Go initialization ( #2012 )
...
Fixes #2010
It was intended that all the various codepaths call `resetAI()` to
initialize the promise handling. However, when there is no savegame at
all, `loadGo()` is not even called, so this is skipped, and the promises
remain not-fully-initialized. This puts the initialization as part of
the static construction, guaranteeing a fix.
Tested all 3 scenarios in #2010 , as well as two more:
* Delete save, immediately "Find new subnet".
* Play a move, save game, ensure IPvGO works on reload.
* Play a move, save game *before the AI moves*, ensure that the AI plays
different random moves on reload.
2025-03-09 16:16:24 -07:00
Michael Ficocelli
a611c842e2
IPVGO: correctly initialize board from save when there are no prior moves ( #1995 )
2025-03-06 11:30:12 -08:00
Michael Ficocelli
c8d2c9f769
IPVGO: Support scripts playing against each other as each color on "No AI" boards ( #1917 )
...
This is a big change with a *lot* of moving parts.
The largest part of it is enabling scripts to `playAsWhite` as a parameter to many Go functions. In the implementation, this involved a significant rewrite of `opponentNextTurn` promise handling.
A number of other changes and bugfixes are included:
* Fixes the issue where handicap stones are added on game load.
* Better typing for error callbacks.
* Throw errors instead of deadlocking on bad cheat usage.
* Return always-resolved gameOver promise after game end
* Added a new `resetStats` api function.
---------
Co-authored-by: David Walker <d0sboots@gmail.com >
2025-02-02 20:47:16 -08:00
catloversg
97ca8c5f5e
CODEBASE: Fix lint errors 4 ( #1773 )
...
Co-authored-by: Michael Ficocelli <ficocemt@gmail.com >
2024-11-14 07:47:35 -08:00
catloversg
36c143b687
CODEBASE: Fix lint errors 2 ( #1756 )
2024-11-06 23:09:11 -08:00
catloversg
f6502dd490
CODEBASE: Fix lint errors 1 ( #1732 )
2024-11-03 22:35:14 -08:00
Michael Ficocelli
6df3dcdc82
IPVGO: Add optional board state argument to the go analysis functions ( #1716 )
2024-10-27 17:31:06 -07:00
Michael Ficocelli
ecc2d92edb
IPVGO: uncheck the 'show prior move' feature when a new game is started ( #1728 )
2024-10-27 17:25:04 -07:00
Michael Ficocelli
2a5b0ca4e9
IPVGO: Prevent issues caused by resetting the board while the go AI is in flight ( #1608 )
2024-09-07 18:33:49 -07:00
Michael Ficocelli
e16ac34c15
IPVGO: add scoring rules explanations to how to play page and score modal ( #1558 )
2024-08-08 17:44:19 -07:00
catloversg
783120c886
FEATURE: BitNode options ( #1411 )
2024-07-14 14:30:30 -07:00
Michael Ficocelli
481938a2fb
IPVGO: Balance and improvements for offline bonus time cycles ( #1356 )
2024-06-05 19:39:22 -07:00
Michael Ficocelli
cf48d666f5
IPVGO: Add history, and details to status, to go API ( #1348 )
2024-06-05 18:24:48 -07:00
Michael Ficocelli
eeab6df718
IPVGO: Use tss-react makeStyles on the IPvGO board and UI ( #1351 )
2024-06-05 21:09:16 -04:00
Michael Ficocelli
fe3e8fb348
IPVGO: Fix crash caused by malformed previous move formatting ( #1360 )
2024-06-05 17:51:01 -07:00
Michael Ficocelli
d9e8161a64
IPVGO: Fix mismatch in board size options on save loader [save corruption bugfix] ( #1355 )
2024-06-05 18:27:27 -04:00
Michael Ficocelli
bd5c502f53
IPVGO: Support bonus cycles from offline time ( #1345 )
2024-06-04 18:43:29 -07:00
Michael Ficocelli
5f6a5c8785
IPVGO: Fix non-async promise-returning methods to be more consistent ( #1327 )
2024-06-04 18:37:00 -07:00
Michael Ficocelli
d9f04203cf
IPVGO: Record full history to avoid infinite ko capture loops on larger boards ( #1299 )
2024-06-02 20:19:26 -07:00
Michael Ficocelli
a28bb4bd99
IPVGO: Support playing manually as white against your scripts using the No AI type board ( #1296 )
2024-06-02 17:41:31 -07:00
catloversg
c2a56a6150
MISC: Refactor favor code ( #1321 )
2024-05-28 12:04:16 -07:00
catloversg
819e9f3448
MISC: Embed JetBrainsMono font ( #1246 )
2024-05-22 21:50:09 -04:00
gmcew
36e3dd73ac
IPVGO: Tetrads do def ( #1284 )
2024-05-17 04:59:21 -07:00
David Walker
38d99ff15e
IPVGO: Remove unneeded functions from boardState.ts ( #1270 )
2024-05-16 12:26:18 -07:00
Snarling
e23db93c8b
GO: Alternate fix for race conditions ( #1260 )
2024-05-11 19:58:59 -04:00
Michael Ficocelli
591ad45154
IPVGO: Handle RNG seeding and visual board updating bugs ( #1258 )
2024-05-10 01:58:09 -07:00
Michael Ficocelli
b53c35126e
IPVGO: Provide API for getting game stats per opponent ( #1255 )
...
Give users access to wins, losses, stat bonuses, and favor gained
2024-05-10 01:57:03 -07:00
Michael Ficocelli
0f23c95737
IPVGO: Remove opponent from react state ( #1222 )
2024-04-24 16:10:01 -04:00
Michael Ficocelli
057ccc2a2b
IPVGO: Improve error logging to include stacktraces ( #1212 )
2024-04-09 06:36:05 -07:00
Michael Ficocelli
6c9555ba32
IPVGO: Tweak cheat success scaling so it is applicable even to endgame stats ( #1194 )
2024-03-30 16:22:53 -07:00
Snarling
6669c4da6a
BLADEBURNER: Typesafety / refactoring ( #1154 )
2024-03-28 21:52:37 -04:00
Michael Ficocelli
fe87f1f628
IPVGO: Bugfixes ( #1193 )
...
* IPVGO: Explicitly link the generated API documentation in the algorithm design doc
* IPVGO: Fix missing factions in netscript docs
* IPVGO: Linting
* IPVGO: Ensure resetBoardState() logs that a new game has started
2024-03-27 22:02:53 -07:00
Michael Ficocelli
d8de22a273
IPVGO: Nerf overly-difficult handicap, [issue #1169 ] misc bugfixes ( #1188 )
...
* IPVGO: Nerf overly-difficult handicap on 5x5 board
* IPVGO: Tweak 5x5 handicap
2024-03-25 16:12:35 -07:00
Michael Ficocelli
1e5f7184a2
IPVGO: Remove current game history from savefile, re-implement superko ( #1175 )
2024-03-20 20:37:20 -04:00
Michael Ficocelli
6b9f9ef7fa
IPVGO: Balance: Reduce base bonuses, increase SF 14.1 to compensate ( #1176 )
...
* IPVGO: Balance: Reduce base bonuses, increase SF 14.1 to compensate
* Fix ts doc format
* Do not show "No AI" opponent in stat summary page
2024-03-20 14:12:35 -07:00
Michael Ficocelli
dd4b54406c
IPVGO: Bugfix: Require special opponent to be on the fixed size board ( #1170 )
2024-03-19 14:23:50 -04:00
Michael Ficocelli
d81358c80f
IPVGO: Add support to netscript API for game state, current player, and alternate ways to check/wait on AI turn ( #1142 )
2024-03-19 14:07:15 -04:00
Michael Ficocelli
edf8e24046
IPvGO: Bugfix: ensure the 'No Ai' white player can still pass, and fix missing dead nodes ( #1165 )
2024-03-17 14:15:53 -07:00
Michael Ficocelli
c703b71871
IPVGO: Ensure that the player has the prerequisites to face the secret opponent ( #1157 )
2024-03-11 12:57:44 -04:00
Michael Ficocelli
33af6685f8
IPVGO: Fix displayed maximum favor in tooltip to update with player bitnode status ( #1143 )
2024-03-07 23:46:08 -05:00
Michael Ficocelli
1547581c24
IPVGO: Fix self-capture move evaluation ( #1140 )
2024-03-06 16:23:16 -05:00
Snarling
373ced2efe
GO: Various changes before 2.6.0 ( #1120 )
2024-02-26 08:05:10 -05:00
Michael Ficocelli
ac05135f59
IPVGO: Ensure favor text is only shown for even-numbered winstreaks, not even loss streaks ( #1110 )
...
closes #1109
Ensure that loss streak tracking does not display the favor gain text, to avoid misleading players
2024-02-20 14:36:06 -08:00
Michael Ficocelli
ca374076b8
[IPvGO] Remove testing flag ( #1016 )
2024-02-10 08:04:21 -05:00