This is a small project application that simulates the draft game mode for Magic: The Gathering. Currently only three sets are available to draft - Zendikar Rising, Kaldheim, and Theros Beyond Death. These are referenced in the source code with their three letter set codes (ZNR, KLD, THB). Card ratings are taken from Aetherhub.
The AI plays a basic strategy, valuing each card of a pack at cardRating + (cardColor * colorWeight)
The main screens are the cardPicker (which represents the draft):
and the pickedViewer, which contains summary statistics and allows you to place cards in main or sideboard:
To run this project locally, run the following command from the main directory:
You may need to install various dependencies, everything you need will be available with npm. Additionally you can view the live project here.
Feedback, suggestions, and bug reports are always welcome, you can reach me at dpayne5@berkeley.edu