- 5 Posts
- 10 Comments
haters gonna hate…
you’re technically correct, but the number of lines is mentioned to show the approximate complexity of the code. 200 lines means approx 200 instructions (I’m not counting empty lines, comments etc.) and that gives everyone a pretty good idea of how (un)complicated the game is.
I found the problem - there should be no “=” in this part of line 222: shaft.workers.length <= shaft.max_workers
i’ll update it on the website tomorrow. thanks for catching that! Somehow I hadn’t tested clicking an invisible button…
thanks!
monica_b1998OPto Programming•"Goldmine" - an idle game in 200 lines of pure JavaScript12·8 months agoi see on the screenshot you have a lot of cash, maybe buy a faster processor? ;-)
congrats!
monica_b1998OPto Linux•How to emulate ZX Spectrum on emulated Commodore 64 on emulated DOS on emulated Windows on Linux2·8 months agowe have to go deeper
monica_b1998OPto Programming•"Goldmine" - an idle game in 200 lines of pure JavaScript12·8 months agoi’m relieved to see that zombies are willing to perform the same slave labor as humans :-)
thanks for letting me know! i’ll have to fix it when i get a chance.
the soundtrack would require an additional 2 lines of code ;-)