from Hacker News

Someone built an LLM-powered Slay the Spire bot

by rickspencer3 on 4/25/24, 2:18 PM with 45 comments

  • by lscharen on 4/25/24, 3:03 PM

    This is giving strong "Using TDD to build a Sudoku solver" vibes[1].

    Let's use some hot tools to solve a problem. Sorta solve a problem. Well, AI doesn't actually know abstract strategy, so maybe it'll work later with a different AI. But it autogenerated some basic logic that only had a few bugs!

    [1] https://ravimohan.blogspot.com/2007/04/learning-from-sudoku-...

  • by cyrialize on 4/25/24, 3:10 PM

    Slay the Spire is my favorite video game of all time. I have 400+ hours on my Switch, 100+ hours on my phone, and 100+ hours on my PC. I'm obsessed.

    I think creating an AI for this game is quite difficult, but I'd love a chat bot to discuss decisions with - especially a bot that could take in the current state.

    It isn't enough to just take in the cards, but you should also take in relics, the counters on the relics, the potions, and what ascension you are at.

    For example, you may have the cards to kill an enemy now - but it may be more beneficial to wait - either to increment the counter on a relic, or to draw a card that does an effect on a fatal hit.

  • by lulesp on 4/25/24, 3:01 PM

    I don't think this will help me conquer A20 as Silent
  • by infecto on 4/25/24, 2:55 PM

    Someone - an amazon employee paid to showcase aws tools.
  • by raincole on 4/25/24, 3:18 PM

    I don't think there is any reason to believe LLM is the best kind of AI to solve a game (unless the game is about natural languages).

    AlphaGo Zero isn't LLM. The Dota bot that beat pro gamers is not LLM.

    If this is an ad of Amazon Q, I'm not sure whether it's a good one.

  • by SamBam on 4/25/24, 4:17 PM

    Fun. I do like how you can pretty easily create an LLM to do a whole bunch of tasks that it wasn't designed to do, so long as you don't particularly care about how well it does it.

    I tried creating a robot driver back when I first started playing around with ChatGPT. I told it the list of commands it could output, like "Turn Left [n] degrees" and "Raise right hand [n] degrees" and "Say [x]." I then gave it instructions and it seemed to work just fine.

    "All" I would need to do then would be to have a basic robot, program an API to drive it, and add voice-to-text to send commands to ChatGPT, and I would have a pretty basic voice-controlled robot, where the "brains" were coded in five minutes. At least good enough for a demo.

  • by aaronharnly on 4/25/24, 3:38 PM

    As an aside, what is the current state of "LLMs for NPCs" in video games?

    I don't really game or follow the industry, but I have to imagine both modders and publishers are working furiously to introduce more natural conversational experiences?

  • by nottorp on 4/25/24, 4:32 PM

    Is that game grindy enough to justify a bot?