The code is for an incremental RPG programming game called Bitburner, which uses a version of JavaScript that has some additional game-specific APIs and restrictions (the game originally ran in a web browser)
This code in particular is a (flawed) solution to the first problem the game throws at you, which is finding a way to hack as much in-game money as possible from in-game servers. (The problem is more complicated than it appears at first glance, and I’ll try to elaborate if you ask.)
Lol ok I’ll ask: wtf is that code?
The code is for an incremental RPG programming game called Bitburner, which uses a version of JavaScript that has some additional game-specific APIs and restrictions (the game originally ran in a web browser)
This code in particular is a (flawed) solution to the first problem the game throws at you, which is finding a way to hack as much in-game money as possible from in-game servers. (The problem is more complicated than it appears at first glance, and I’ll try to elaborate if you ask.)
Urghh, now I must post before I leave…
A different game
What game?
Might be bitburner?
No idea though, just saw this
It is bitburner :3
Bitburner is the shit