this post was submitted on 29 Feb 2024
114 points (100.0% liked)
196
16597 readers
2143 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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...
No it’s actually to compute the threads required for a hghw batching script :)
My bad, was wondering why it was called "recon"... HACK GROW HACK WEAKEN? What on earth is this madness? Did... did you... did you do this on purpose?
Anyways, I think I'm going to write the essay despite no one asking.
I am trying to.get into the game but I am very clueless do I have to learn javascript before continueing or will it teach me
there's documentation , but it's a good way to learn javascript imo. It gives you an environment to interact with javascript and that's a perfect place to go hands-on and learn programming :)
A different game
What game?
Might be bitburner?
No idea though, just saw this
It is bitburner :3
Bitburner is the shit
Is that like a programming game? (I know nothing about programming haha)
OK I was just shitting on JS but any way to gamify programming might be good for me. I'll check it out