Card drafting simulator
Eric:
- Export Collection button moved to Collection page
- Import Collection button added to Collection page
Asad:
- Draft.html - Draft simulation
- Draft results.html
- Draft.js - functionality of drafting
Both:
- test and document
Extra:
- if time add popups when hovering over card names
- sort by card type / color options
Flask :
pip install flask
mtgsdk :
pip install mtgsdk
Optional but recommended:
pip install virtualenv
For debugging set the environmental variable FLASK_ENV to develpment as well as setting FLASK_APP to app.py
On linux:
export FLASK_ENV=development
export FLASK_APP=app.py
Then you man execute
flask run
If it worked it should be running at localhost:5000 (127.0.0.1:5000)
This is web application that uses Flask for a backend
- Routing
- Accessing the mtg api database: https://docs.magicthegathering.io/
- Storing information in the users session
- Sending templates(html) processed with jinja
Javascript
- Jquery for ajax
- Jquery for other interactive elements (nothing yet)
- handle the deck simulation
HTML/CSS
- Jinja rendered html/css documents
- Ideally use flexbox