Open source rules engine for Magic: The Gathering

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • forge

    An unofficial rules engine for the world's greatest card game. (by Card-Forge)

  • In case anyone is curious, it uses Scryfall for the card art https://github.com/Card-Forge/forge/blob/forge-1.6.59/forge-... and I wish they'd offer a torrent (or IPFS) because I can't imagine the amount of bandwidth it must cost them and I would seed the hell out of any such thing

    Now, one possible reason would be copyright something-something but as it currently stands it's not like one needs to log in to download the card art one at a time, so ... I struggle to think of what risk they're driving down

  • CardScripts

    Project Ignis card script libraries and canonical card scripts for EDOPro. Send bug reports through Discord only!

  • https://github.com/ProjectIgnis/CardScripts#contributing

    > Please keep all bug reports and questions on Discord; do NOT open an issue or pull request for this purpose.

    Yikes : - ( chat streams are where information goes to die

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • incubator-kie-drools

    Drools is a rule engine, DMN engine and complex event processing (CEP) engine for Java.

  • That's interesting, thank you. It seems what's old is new again: I had a lot of contact with CLIPS early in my career but I found that most of the programming tasks weren't heavy rules based as much as CRUD and reporting apps. Given that Forge is in Java, they may enjoy Drools <https://github.com/apache/incubator-kie-drools#readme> (which used to be a JBoss project but I guess has been donated to the Apache Foundation)

  • muzero-general

    MuZero

  • I went looking for MuZero implementations in order to see how, exactly, they interact with the game space. Based on this one, which had the most stars in the muzero topic, it appears that it needs to be able to discern legal next steps from the current game state https://github.com/werner-duvaud/muzero-general/blob/master/...

    So, I guess for the cards Forge has implemented one could MuZero it, but I believe it's a bit chicken and egg with a "free text" game like M:TG -- in order to train one would need to know legal steps for any random game state, but in order to have legal steps one would need to be able to read and interpret English rules and card text

  • ygopro-core

    ygopro script engine. (by edo9300)

  • Here is an equivalent for Yu-Gi-Oh!

    https://github.com/edo9300/ygopro-core

    I find the CardScript repository very interesting to look at: https://github.com/ProjectIgnis/CardScripts

  • mtg

    Magic: The Gathering, but in Ruby (by radar)

  • I’ve done some work on something “less serious” in Ruby:

    https://github.com/radar/mtg

    I view it as a wide project full of little interlinked code katas.

    I’ve thought about the card parsing stuff but that’s beyond my ability.

  • mage

    Magic Another Game Engine (by magefree)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts