@[email protected] to [email protected]English • 5 months ago"Goldmine" - an idle game in 200 lines of pure JavaScriptslicker.memessage-square14fedilinkarrow-up143arrow-down11cross-posted to: [email protected]
arrow-up142arrow-down1external-link"Goldmine" - an idle game in 200 lines of pure JavaScriptslicker.me@[email protected] to [email protected]English • 5 months agomessage-square14fedilinkcross-posted to: [email protected]
minus-square@agentsaclink15•edit-25 months agoThere’s a weird bug where you can get four workers per shaft. The ‘hire worker’ button at the end of the shaft disappears after you hire your third worker, but if you click where the button was, you will get a fourth worker for free.
minus-square@[email protected]OPlinkfedilink8•5 months agothanks for letting me know! i’ll have to fix it when i get a chance.
minus-square@[email protected]OPlinkfedilink3•5 months agoI 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…
There’s a weird bug where you can get four workers per shaft. The ‘hire worker’ button at the end of the shaft disappears after you hire your third worker, but if you click where the button was, you will get a fourth worker for free.
thanks for letting me know! i’ll have to fix it when i get a chance.
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…