Model-Based Testing for Dungeons & Dragons

(loskutoff.com)

50 points | by Firfi 2 days ago

8 comments

  • heelix 9 minutes ago
    Converting DnD rules and edge cases was always a bit of fun and became my "hello world" as I was learning stuff.

    Years back, I worked at a company where the agreement required them to review any personal application that I created for a year or so after I left. I was super happy to send them iterations of my DM'ing tools - written for Java (micro edition), WinCE, Palm, and any other mobile gadgets I could get my hands on.

    Around the 4th application I sent, the pharmaceutical company released me from the non-compete clause. I've always wondered if they were required to try and run the applications.

  • Firfi 2 days ago
    Dungeons & Dragons rules are a spec spanning thousands of pages, not formalized, but thoroughly tested by the community. Moving them to a formal specification language (Quint) was an obvious next step. It worked and proved to also be a great LLM self-checker.
    • anentropic 12 minutes ago
      Fantastic, I'd been daydreaming about doing similar for a while!

      Do I understand correctly that the Quint code is not needed 'at runtime', that it's there for model-based testing of the XState implementation?

  • jaen 38 minutes ago
    Maybe the content is great, but the AI writing style is really grating with its staccato sentences and faux-"profoundness". Can't bear it any more, stopped reading.

    "You’re not checking logic. You’re checking shape.". Ugh.

  • not_ai 49 minutes ago
    I think this is fantastic. I recently started playing DnD with a local group and can’t wait to dive into this to better understand the mechanics.
  • bugarela 1 hour ago
    This is so cool, I'll definitely be playing with in over the weekend. I meant to put Quint and D&D together in some similar ideas before but never found the time, so I love to see this coming alive from someone else <3
  • randallsquared 2 hours ago
    The "Grapple Leapfrog" is like the peasant railgun, and I think the "real" solution would be a recognition that order of conflict resolution in real time is not the same as ordering linear activities in game time.
  • CSP_LIBRARY 2 days ago
    Great
  • weregiraffe 1 hour ago
    Shit like this results from a severe misunderstanding of what's enjoyable in a table-top RPG. It's not a fucking video game.
    • mumbisChungo 1 hour ago
      Agreed, people should only enjoy the features of it that I enjoy the way I like to enjoy them. Enjoying it the wrong way is at best stupid, possibly even evil.