magefree / mage

Magic Another Game Engine
http://xmage.today
MIT License
1.86k stars 762 forks source link

Add in the concept of comparing decks into the deck editor. #6819

Closed spjspj closed 7 months ago

spjspj commented 4 years ago

Similar to a text file diff, would be nice to be able to visually compare two decks and get which cards are different between them. This would allow different versions of the same deck to be more easily compared. I've done a mockup of what I mean in the following image. I guess comparing sideboards would be similar (maybe as part of a choice radio dialog that said 1) "Compare Maindecks" 2) "Compare Sideboards" https://i.imgur.com/uLIzh4J.png

spjspj commented 4 years ago

Another way to achieve something similar to what I would like may be to add a 'Singleton' option to the Select By in the deck editor. Then you could smoosh together two similar decks, pick the singletons in the combined results and then select those as the differences between the two decks. There's currently the 'multiples' option that picks out ones that have more than one of the same name. This would only work for formats such as commander and only for actual singleton cards (so basic lands would be missed etc). Thinking further along these lines, an 'Odd Number of Cards' may work as well - so if you had 3 basic Islands in one deck, and 4 in another, you would have 7 islands (it would crash and burn if you had say 3 in one and 5 in another).

Alternatively, maybe a 'Deck Algebra' type solution - so Existing Deck with a "Minus Deck" operation would let Deck1 minus Deck2 (in terms of Venn Diagrams) give you what was in Deck1 but not in Deck2, a "Common to both Decks" would let you see the overlap (aka what was in both Deck1 and Deck2) and a "Conjunction" would give you a combined total of everything in both decks.

JayDi85 commented 7 months ago

Useless and hard to implement. Can be replaced by export + text diff tool from outside of the app.