Commit Graph

43 Commits

Author SHA1 Message Date
danielyxie d50c5abb66 Refactored all code that uses the numeral library to use a wrapper class. Implemented configurable locale setting through this wrapper class 2018-09-12 11:29:02 -05:00
danielyxie 26fa9cfe82 Rebalanced Stock Market and Bladeburner. Refactored Stock class to Typescript 2018-09-06 11:07:59 -05:00
danielyxie 2bf6871ece V0.40.2 BUndle and minor bug/typo fixes 2018-08-25 23:26:42 -05:00
Daniel Xie e4f02b298b Added Four Sigma (4S) Market Data feature, and its Netscript TIX API functions as well 2018-08-24 15:44:48 -05:00
Daniel Xie 815762bddd Attached Stock market Watchlist 2018-08-23 13:51:57 -05:00
danielyxie e1bdf0100a Merge pull request #432 from Kline-/stocks-use-numeral
Standardize log messages and switch from formatNumber to numeral.
2018-08-11 20:08:32 -05:00
Matthew Goff b65157df7f Standardize log messages and switch from formatNumber to numeral. 2018-08-10 15:52:35 -05:00
Steven Evans 826a8799fa [refactor] Extracting Locations to its own file to remove circular dependency 2018-08-02 14:33:08 -04:00
Steven Evans 26b0840f26 [refactor] Breaking out page tracking from 'engine' 2018-08-02 14:33:07 -04:00
Steven Evans 8016321bfb [refactor] Moved 'clearEventListeners' to its own TS file 2018-07-08 21:18:10 -04:00
Steven Evans 875f7b4438 [refactor] Moved 'removeElementById' to its own TS file 2018-07-08 20:17:50 -04:00
Steven Evans be9891d93b [refactor] Moved 'getRandomInt' to its own TS file 2018-07-08 20:17:49 -04:00
Olivier Gagnon 6bdf946790 remove all .js from all appplicable imports 2018-06-26 12:34:11 -04:00
Olivier Gagnon 53ddfbc9ec first conversion 2018-06-22 17:30:24 -04:00
Steven Evans 7ee964a66c Merge remote-tracking branch 'danielyxie/dev' into dev 2018-06-03 21:11:34 -04:00
danielyxie 957ce44316 v0.37.2 2018-06-02 20:37:56 -05:00
Steven Evans 7362d1809f [refactor] Remove numeral from utils folder; use npm reference
In order to shave off ~0.02MiB of the bundle size, needed to continue
referencing the minified file. Ideally future changes can utilize
code splitting, tree shaking, and minification in WebPack to use normal
references.
2018-05-30 22:46:52 -04:00
Olivier Gagnon f70d39f9e6 make the stock market accound and api button green when bought 2018-05-27 04:02:54 -04:00
danielyxie 96b12f7f68 Added ENABLE_TIMESTAMPS Fconf Setting. Put a soft-cap on stock price. Cleaned up a number rounding display issue for Gang UI (100.03% territory, etc.). Refactored ActiveSCriptsUI code to use a queue to sequentially run 'tasks' that handle the adding/deleting of items and server panels 2018-05-07 12:25:44 -05:00
danielyxie 9acc422f05 v0.36.0 - Bladeburner BitNode (BN-6) 2018-05-02 12:38:11 -05:00
danielyxie 779ce25ae5 v0.34.5. Also adding webpack config and package-lock.json 2018-02-24 16:55:06 -06:00
danielyxie 36696d04db Stock Market rebalancing. Change visibility to display for changing UI. More work on company management 2017-11-08 19:55:21 -06:00
danielyxie 03fdaeaba4 Changed confirm to prompt, updated version, more stock market balancing 2017-11-02 22:11:14 -05:00
danielyxie bc6f0da677 Fixed Netscript interpreter memory issues by breaking promise chains in while and for loops. Improved Stock Market UI. Added a button to kill script from log display box. Added confirm() Netscript function 2017-11-02 16:47:09 -05:00
danielyxie 52967d7f9d Refactored Code using Bluebird Promises. Still has memory issues. Added Buy Max and Sell All to stock market UI 2017-11-01 17:56:30 -05:00
danielyxie 7c4ac00f5a Replaced strict equality comparisons for null with loose eq comparisons 2017-10-25 17:05:12 -05:00
danielyxie 7614c62507 Fix bug when checking for null 2017-10-25 16:11:53 -05:00
danielyxie 4dc87af132 v0.32.0 - Added BitNode-8: Ghost of Wall Street 2017-10-25 14:47:47 -05:00
danielyxie 4ccad83e5e Initial implementation of BitNode-8: Ghost of Wall Street. Added TextFile.js to git. Added design for company management 2017-10-20 16:59:54 -05:00
danielyxie cf471acad6 Fixed save issue. Rebalancing 2017-10-14 20:55:41 -05:00
danielyxie 4186326771 Added new Text Files (downloadable) and their corresponding Terminal commands. Added sprintf and vsprintf. 2017-10-12 15:10:34 -05:00
danielyxie 97eeef7d0d scp and donate for rep bug fixes 2017-08-31 12:19:28 -05:00
danielyxie 110138f3ee Fixed some bugs with Stock Market 2017-08-31 00:04:23 -05:00
danielyxie 7a05d3585a All 0.28.0 Changes - Bitnodes 4 and 11 and webpack migration 2017-08-30 12:44:29 -05:00
danielyxie 53d514d28e Decimal.js support for player's money. Buffed early game servers. 2017-07-29 11:25:40 -05:00
danielyxie e653b7b315 All v0.26.0 changes 2017-07-21 17:54:55 -05:00
Daniel Xie 222f75d55a Refactored Netscript with Acorns parser. Major rebalancing. Add TIX API. Add round(), purchaseServer(). 2017-07-13 11:54:29 -05:00
Daniel Xie cb7dda9293 Rebalancing stock market and infiltration, updated changelog/documentation 2017-07-05 17:33:46 -05:00
Daniel Xie 542a32c768 MOre rebalancing with universities and companies 2017-07-05 11:49:01 -05:00
Daniel Xie 0f59d48c53 Fixed typos 2017-07-04 23:02:19 -05:00
Daniel Xie 2c384bade8 Fixed bug with Firefox and deleting qty field in WSE 2017-07-03 22:16:41 -05:00
Daniel Xie 1befaccf3f Fixed bug with buying selling 0 shares 2017-07-03 21:39:15 -05:00
Daniel Xie 36e3a3b5d2 StockMarket and Infiltration implementations 2017-07-03 14:42:11 -05:00