r/mtg • • 2d ago

I Have a Question / I need Help Magic Help For Library Program

Hello, folks! I work at a library and a colleague runs a coding club and was thinking about different programs they could run for teens. They've done robots, and games, but were thinking about doing other things. I suggested they could do a MTG as a coding language program (based on an article I read years ago and no longer remember). Full disclosure, I've barely played Magic and would have no idea where to start. What would be an easy point of entry in MTG to get patrons thinking about coding through Magic?

0 Upvotes

3 comments sorted by

1

u/AutoModerator 2d ago

Don't worry! Your post has not been deleted!

If you are a new player and you are looking for advice on how to get into the game please read the linked article!

If you're looking for help with your card's authenticity check out r/RealOrNotTCG (card verification, edition info, condition check, scams, tampering, fakes, etc)!

If you suspect your card is a misprint go check out r/mtgmisprints for more info!

If you're looking for pricing help check out Mana Pool, Card Kingdom, CardTrader and TCGplayer for North American markets and Cardmarket for European markets. Ebay and Amazon are not reliable sources for pricing info.

If you're looking for something else you may disregard this message!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/nebneb432 2d ago

Maybe you remember something like this (https://www.reddit.com/r/magicTCG/comments/bgiz6j/magic_the_gathering_is_turing_complete/)

It's not exactly coding, and it's not something thats very practical to do, given how many cards are needed to build the Turing machine.

I've also seen projects related to MTG, such as projects using the Scryfall card database API, or a dissertation that tries to build software to convert Magic card text into a structure that could be used to allow a computer to play the game (which I think Wizards already has internally for importing cards to MTG Arena)

1

u/Safe-Butterscotch442 2d ago

Ummm... the article you're thinking of may be this one (or an article about this paper):

https://arxiv.org/abs/1904.09828

but, it's not really a great idea for inexperienced players. It's possible to build a touring machine out of a very specific set of Magic cards, but it's extremely complicated, even for experienced MTG players with familiarity with computer science, and would take trillions of years to even program and calculate something like 2+3. So, if that's what you were thinking, it's not really viable.

However, there are a lot of similarities between MTG rules text and coding, and you are certainly welcome to introduce MTG to your coding club, or even form a MTG club on your own. If you want to start an MTG club, or use Magic in any other way to support your program, MagiKids is a great resource, and can help you get all the materials you need to get started.