Commit graph

30 commits

Author SHA1 Message Date
mwisnowski
dbbc8bc66e Moved the builder, tagger, and setup modules into their own folders, along with constants to help provide better clarity and readability. Additionally added a missing call for the tag_for_artifcact_triggers() function 2025-01-28 10:19:44 -08:00
matt
76277f876c Adjusted logging across the files 2025-01-17 18:04:29 -08:00
matt
1c7436f33d Finished v2 of deck_builder, should be largely functional, but could use refinements. WIll continue to work on it, but largely satisfied with how it works. 2025-01-17 17:04:02 -08:00
mwisnowski
c628b054ea Finished refactoring and adding docstrings functions.
Added module-level docstrings to modules and cleaned up imports
2025-01-17 11:39:27 -08:00
mwisnowski
319f7848d3 Began work on overhauling the deck_builder 2025-01-14 12:07:49 -08:00
mwisnowski
e0dd09adee Began work on refactoring deck_builder
Fixed logging for the other files such that they actually log to the file instead of just creating it
2025-01-14 10:10:30 -08:00
mwisnowski
b8d9958564 Fleshed out docstrings, added typings, cleaned up imports, and added a requirements.txt file
Additionally, renamed utility.ty to tag_utils.py to fit the naming pattern used with setup.py and setup.utils.py
2025-01-14 09:06:59 -08:00
mwisnowski
000d804ba7 Refactored setup.py again, confirmed that all filters are now working as expected. Work will resume on main branch now 2025-01-13 11:35:11 -08:00
mwisnowski
c4d773d663 Noticed that changes made in setup have drastically reduced cards after filtering. Redoing setup and it's associated files to fix this 2025-01-13 10:06:19 -08:00
mwisnowski
1f8beeadef Removed need to create seperate land_cards file in setup
Adjusted tagger to keep the 'layout' and 'side' columns
2024-12-26 11:12:56 -08:00
mwisnowski
ae83d0f66f Adjusted logic in deck builder for making land_df 2024-12-26 10:52:09 -08:00
mwisnowski
b3de39bffb Fixed logic in setup for determining the 'face' of double sided cards 2024-12-26 10:02:12 -08:00
mwisnowski
f9ae7fa41e Adjusted some logic in setup to filter out any banned cards, as well as add the layout column to allow for easily seeing 'Normal', 'MDFC', or 'Transform cards.
Added logic for 'Kindred Support' tagging in tagger
2024-12-26 09:38:21 -08:00
mwisnowski
15ce426ad4 Adjusted logic to set lands to fill all empty cells in colorIdentity column to be 'colorless' like was done with other cards 2024-12-20 11:51:24 -08:00
mwisnowski
856e1f5113 Started adding further logic for deck build
Starting with adding lands
2024-12-19 12:02:26 -08:00
mwisnowski
43bdf180d4 Tagger should be done.
Might have missed some lesser used stuff, and honestly might have overlooked some things, but it should be at a good point for testing deck building.
2024-12-18 20:21:45 -08:00
mwisnowski
8400613a15 Starting working on interaction, halfway through red on confirming board wipe conditions 2024-12-18 12:14:45 -08:00
mwisnowski
3344218410 Tagger is preliminarily done
May need further adjustments or testing, but seems to be working the way I want it to at this time.

Fixed a typo in the determine_commanders() function of setup that would drop elligible planeswalkers and artifacts instead of dropping inelligible ones
2024-12-17 15:10:52 -08:00
mwisnowski
4a3d9c423e Added logic for more themes
Adjusted setup to exclude unsets and Heroes of the realm cards
2024-12-17 12:02:53 -08:00
mwisnowski
f0c00c4b2c Overhauled tagger.py
Added Ramp
Reorganized a number of functions
2024-12-16 22:58:02 -08:00
mwisnowski
1819104253 Started logic for spellslinger, including storm, magecraft, and started on cantrips 2024-12-12 12:27:29 -08:00
mwisnowski
856ba0f572 Add logic for Lands Matter (i.e. landfall, specific land types, landwalk, etc...) 2024-12-11 23:08:42 -08:00
mwisnowski
f8be47c5c5 Adjusted logic for artifact matters. Added enchantment matters logic. 2024-12-11 16:56:31 -08:00
mwisnowski
6c88c7cf38 Revised logic of checking for creature types 2024-12-11 11:36:29 -08:00
mwisnowski
2c5020799e Aded logic for enchantments, enchantment tokens, creature tokens, and token modifications 2024-12-10 15:32:25 -08:00
mwisnowski
2922414aec Added logic for tagging cards for themes (so far only the card draw types) and kindred types 2024-12-09 12:56:01 -08:00
mwisnowski
d19c3c6db6 Redid setup logic, started adding more logic to deckbuilding 2024-12-07 23:34:14 -08:00
mwisnowski
0ecf34210b Added more deck builder logic, including asking prelim questions and adding a land 'starter pack' 2024-12-06 12:04:39 -08:00
mwisnowski
aee44190a9 Started deck builder function, added base structure and prompt for selecting commander 2024-12-05 16:54:56 -08:00
mwisnowski
3efd1cd9a9 Added card info logic, split things into multiple files 2024-12-05 12:03:06 -08:00