MTG Deck Legality Checker for custom formats!
counterspell @ counterspell @mtgzone.com Posts 10Comments 14Joined 2 yr. ago
counterspell @ counterspell @mtgzone.com
Posts
10
Comments
14
Joined
2 yr. ago
How can I play with custom MTG format with a shared card pool to check for legality?
MTG Deck Legality Web Checker
A simple web tool for validating Magic: The Gathering decklists in a custom format.
Inspiration
This project was inspired by several sources:
Features
Installation
It is recommended to use a virtual environment to keep dependencies isolated.
1. Clone the Repository
git clone https://git.disroot.org/hirrolot19/mtg-legality-checker.git cd mtg-legality-checker `2. Create and Activate a Virtual Environment
python -m venv venv source venv/bin/activate3. Install Dependencies
pip install -r requirements.txtRunning the App
From the project root (with the virtual environment activated):
python app.pyThen open your browser and navigate to:
http://127.0.0.1:5000/First Run Behavior
On first launch, the app will:
This process may take a few minutes.
Once complete, cached files are stored persistently for future sessions.
Using the Web Checker
Decklist Rules
4 Lightning Bolt,2x Opt).#.Advanced Usage
For detailed information about the supporting scripts and command-line tools, see
tools/README.md.