Skip to content

This repository contains a tool for managing and analyzing Magic: The Gathering (MTG) decks.

Notifications You must be signed in to change notification settings

VictorEscribano/MTG-Deck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTG-Deck

This repository contains a tool for managing and analyzing Magic: The Gathering (MTG) decks. With this code, you can create, load and modify Magic The Gathering Decks and generate a graphical representation of the deck's mana curve in order to analyze the balance of your deck. Additionally, a JSON file is generated with all the card information, including name, mana cost, type, text, url, price, etc.

Usage

Follow these steps:

  1. Clone this repository to your local machine.
  2. Install the required dependencies by running pip install -r requirements.txt.
  3. Open the GUI. The main functionalities are:
  • Ceate deck with custom name
  • Add/Remove cards to the created Deck (The deck is saved automatically)
  • If you have Decks already created you can load those decks and work with it

The program has a simple and easy to use interface:

GUI

Future work

This tool is still in development, and there are several possible improvements and extensions that could be added in the future. Some ideas include:

  • ✅ Add deck price
  • ✅ Adding the image mana cost to the GUI
  • ⬜ Add synergy graph based on the 17Lands API using the GIH (Game in Hand) metric
  • ⬜ Apply dimensionality reduction techniques to see the less relevant cards of the deck.
  • ⬜ Implementing more sophisticated analysis of the deck's mana curve (e.g. calculating the average mana cost, detecting color imbalances).
  • ⬜ Adding support for other deck formats (e.g. Commander, Limited).

About

This repository contains a tool for managing and analyzing Magic: The Gathering (MTG) decks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages