Hacker News new | ask | show | jobs
by joshstrange 23 days ago
Well I beat the game on my phone then moved to my laptop to write some JS to see what I could automate. I know this is child's play for most of the people here (and especially with LLMs but I did it all by hand):

- Used hnfong's script [0] to make it easier to block

- Wrote a script to auto-heal and auto-divide (might need to be smarter about only auto-healing when hearts get low as to not use up all your hearts on healing when you need some for dividing)

- Wrote a script to power-level my cards (just rolling and occasionally solving the math, all automated)

- Wrote some code to slice open packs but never got around to writing code to click on the packs (I just did that manually)

I got up to level 31 in the fighting and leveled all my cards to 10. I'm trying not to fall into the rabbit hole of "Can I write some JS to level _and_ fight from 0 with no interaction from me?" - I mean I know it's possible, just would take some more time. I never wrote an auto-blocking code but I'm sure that would be possible, probably just need to watch for classes on the boss to indicate which direction it's attacking.

I greatly enjoyed the game in "manual" mode and in my automated mode. I love things like this (and Universal Paperclips, and Kitten's Game, etc).

[0] https://news.ycombinator.com/item?id=48191366