Git Product home page Git Product logo

ellorans / best-mtg-deck Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 1.0 54.42 MB

Website that takes list of cards as an input and shows how much you should spend to build every MTG Tier deck. Support for MTGA included.

Home Page: https://bestdeckforyou.pythonanywhere.com/

License: Apache License 2.0

Python 98.88% CSS 0.06% JavaScript 0.31% HTML 0.76%
flask mtg mtg-arena mtg-cards mtg-collection-manager mtg-deck mtga

best-mtg-deck's People

Contributors

badboy-16 avatar ellorans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

nc1292

best-mtg-deck's Issues

Change capitalization for saxon genitive

.title() is widely used in the project, resulting in bad capitalization: "Chandra'S Defeat" in place of "Chandra's Defeat". Changing all .title() instances with something able to recognise saxon genitive would be nice.

Update data automatically

I would like to automate the process of getting the data. Specially to have up-to-date prices.

It would be nice to know where did you download the decks, prices, data_types, rarity from. Right now I'm getting it from scryfall bulk data download, but I see some inconsistencies between that data and the one you used. For example the rarity is lower case instead of capitalized and the data_types include the sub-types while the one you provide doesn't. That makes me believe that isn't the data you used and I would have to process it so that it's the same. But I could also download it directly from the same place that you did.

Edit: never mind I've now seen the scraper is at ElLorans/GoldfishScrape. I wish I had seen that before scraping the penny dreadful decks from https://dreadrise.wizzerinus.tk/
Edit2: that scraper only gets the decklists, so I'm still curious about the rest of the data.

Add "Copy" button to decklist page

I should add a button to copy the decklist in one click and a button to copy only the missing cards.
The code is already under the function "function copyBBDeck()" in "decklist_formatter.html", so modifying "deck.html" should be easy.

Deck formatter split is uneven

Signaled by @khalni.
Deck formatter should split at number of lines, not number of card types.

See at https://bestdeckforyou.pythonanywhere.com/decklist_formatter when insert:

Creatures (6):
2 Witherbloom Apprentice
1 Reckless Amplimancer
1 Oriq Loremage
1 Brackish Trudge
1 Bayou Groff
Sorceries (15):
2 Emergent Sequence
2 Rise Of Extus
2 Mage Hunters' Onslaught
2 Agonizing Remorse
1 Mage Duel
1 Leyline Invocation
1 Hunt For Specimens
1 Go Blank
1 Environmental Sciences
1 Devouring Tendrils
1 Basic Conjuration
Instants (4):
2 Big Play
1 Umbral Juke
1 Infuse With Vitality
Lands (15):
8 Forest
7 Swamp
Sideboard
2 Introduction to Annihilation
1 Expanded Anatomy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.