Commit graph

28 commits

Author SHA1 Message Date
mwisnowski
17379340a8 Refined tagging up through topdeck theme 2025-01-08 16:04:42 -08:00
mwisnowski
d306e69b3a Adjusted more tagging functions misc themes up through big mana have been tagged 2025-01-08 12:06:33 -08:00
mwisnowski
aac2b26be8 Refactored multiple tagger functions, through to lifegain related functions so that they use vector masks in place of iterrows 2025-01-08 08:29:00 -08:00
mwisnowski
083ef937af Made numerous changes to the card draw functions, as well as other tagging functions up through to artifact tagging
These changes were done with teh assistance of traycer
2025-01-02 13:00:52 -08:00
mwisnowski
a4abea2c3c Started work refactoring the tagging functions by using Traycer 2024-12-31 12:04:10 -08:00
mwisnowski
e404515d91 Started changing print statements to logging statements in tagger.py
Refined the load dataframe section in tagger.py

Beginning work on changing the tagging functions to use vectorized inputs instead of iterrows
2024-12-31 10:48:11 -08:00
mwisnowski
0dfe53bb32 Added logic to tagger and deck_builder for "hidden themes" related to multiple-copy cards, such as Hare Apparent or Dragon's Approach 2024-12-30 11:43:36 -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
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
c81a5fb64e Started logic for adding creatures, ramp, board wipes, interaction, and other cards based on the chosen themes
Fixed logical error in tagger causing it to look for 'Artifact' in a lowercase 'type' column

Need to refine logic for adding by tags and weighted theme values.
2024-12-25 19:56:35 -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
a469d5be4a Retouched some old logic
Added logic to add card types to tags
Finished cantrip logic
2024-12-12 16:01:23 -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
03e11fb3ea Added log for wheels theme 2024-12-11 19:01:41 -08:00
mwisnowski
6c1554fe04 Added logic for counters, equipment, auras, and voltron.
Also added logic to append kindred types to theme tags and sort the tags
2024-12-11 18:29:38 -08:00
mwisnowski
f8be47c5c5 Adjusted logic for artifact matters. Added enchantment matters logic. 2024-12-11 16:56:31 -08:00
mwisnowski
1751b1c84d Added addtiional logic for artifacts matter cards 2024-12-11 12:03:39 -08:00
mwisnowski
6c88c7cf38 Revised logic of checking for creature types 2024-12-11 11:36:29 -08:00
mwisnowski
6596a59c9e Added life matters tags 2024-12-10 16:43:03 -08:00
mwisnowski
2c5020799e Aded logic for enchantments, enchantment tokens, creature tokens, and token modifications 2024-12-10 15:32:25 -08:00
mwisnowski
5fb2eb5b68 added logic to check for artifact types and artifact token creation 2024-12-10 12:13:44 -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