- cross-posted to:
- programming@programming.dev
- cross-posted to:
- programming@programming.dev
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…
cheat codes for console
Infinite wealth
score = 100_000_000_000;
Open all shafts
shaftsOpen = 10;
Add 1 worker to all shafts
Array(shaftsOpen).fill(0).map((_, i) => (shafts[i].workers.push(new Worker())));
It takes like 5 minutes to beat…
but do you have zombie mode?
zombie mode
spritesheetImg.src="https://i.imgur.com/Frt8JKU.png"
i’m relieved to see that zombies are willing to perform the same slave labor as humans :-)
I put 3000 workers in each shaft and now it lags. pls fix
i see on the screenshot you have a lot of cash, maybe buy a faster processor? ;-)
There’s a bug! You can click buttons once after they disappear.
I did it!
congrats!