Commit graph

41 commits

Author SHA1 Message Date
henriquenakashima
723fb00b3a word_count.py fetches from CubeCobra 2021-02-28 12:38:21 -05:00
henriquenakashima
356d0d0603 Remove pesky print 2021-02-28 12:38:03 -05:00
henriquenakashima
182b6a273b Export decks from Rogue Duel 2021-02-22 23:37:25 -05:00
henriquenakashima
51e21e10cf Update TheElegantCube_fetched.csv 2021-02-22 23:02:14 -05:00
henriquenakashima
fd201b7fa7 Get correct duals in Rogue Duel 2021-02-22 23:01:58 -05:00
henriquenakashima
6b91cbb1b9 CubePool made of Cards instead of strs 2021-02-22 22:51:44 -05:00
henriquenakashima
a705e5d38c Create Rogue Duel 2021-02-22 22:21:36 -05:00
henriquenakashima
f8b5d804df Fix typing of cube_pool.load_pools() 2021-02-22 21:27:29 -05:00
henriquenakashima
b57ddacefd CubePool split by color category 2021-02-22 21:26:11 -05:00
henriquenakashima
cba1008b17 Refactor cube_pool.py out of generate_draft_pool.py
WIll reuse for other modes of play
2021-02-22 19:43:50 -05:00
henriquenakashima
a0b29fc448 Create core_alphabetical.py 2020-12-01 20:48:05 -05:00
henriquenakashima
fd10676706 Fetch cube list from CubeCobra for generate_draft_pool.py 2020-11-30 21:33:19 -05:00
Dan Niemitalo
3e409aad0f Add function to request csv from CubeCobra
Add function to request csv from CubeCobra
2020-11-29 19:51:41 -06:00
Dan Niemitalo
a292ffb34e Revert "Add function to request csv from CubeCobra"
This reverts commit 17beb084cd.
2020-11-29 19:50:51 -06:00
Dan Niemitalo
17beb084cd Add function to request csv from CubeCobra
Add function to request csv from CubeCobra
2020-11-29 19:49:21 -06:00
Dan Niemitalo
2796b3a097 Revert "Add function to request csv from CubeTutor"
This reverts commit 636fff4c93.
2020-11-29 19:47:58 -06:00
Dan Niemitalo
65a8a9a8b7 Revert "Add function to request cube csv from CubeTutor"
This reverts commit 1b4a7b79c9.
2020-11-29 19:47:40 -06:00
Dan Niemitalo
1b4a7b79c9 Add function to request cube csv from CubeTutor 2020-11-29 19:43:39 -06:00
Dan Niemitalo
636fff4c93 Add function to request csv from CubeTutor
Request csv file from CubeTutor given cube id and save to cube_csvs
directory
2020-11-29 19:43:39 -06:00
Dan Niemitalo
4a7550d298 Revert "Fixed set_codes.txt filename"
This reverts commit 8441082835b07fedc9df1bfb39c0b003d1ec6505.
2020-11-29 19:43:39 -06:00
Dan Niemitalo
b2eb3c17a3 Fixed set_codes.txt filename
Fixed set_codes.txt filename from csv to txt
2020-11-29 19:43:39 -06:00
henriquenakashima
bf83a0d83c Merge branch 'main' of https://github.com/henriquenakashima/cubescripts into main 2020-11-29 19:04:05 -05:00
henriquenakashima
1413223b3e Fix scryfall_requests.py 2020-11-29 19:02:39 -05:00
Dan Niemitalo
23cfece66b Request set.json files from Scryfall
Downloads card data from each set from Scryfall
2020-11-29 17:32:25 -06:00
henriquenakashima
0a3cf8d657 Full keyword report prints cardlist for each keyword 2020-11-29 18:30:36 -05:00
henriquenakashima
5cec2e8e24 Split analyze_keywords.py into multiple scripts 2020-11-29 15:33:42 -05:00
henriquenakashima
32f8c20b2e Move .csvs to subdirectory, refactor cube_json.py out of word_count.py 2020-11-29 15:24:37 -05:00
Dan Niemitalo
7226fc3b17 Analyze keywords in cards.json files
Count unique keywords in sets and cubes. Output csv files included.
2020-11-29 13:27:14 -06:00
Dan Niemitalo
f75ccf13cd Reports frequency of keywords for a list of cards
This is a starting point for reporting on keywords in a list of cards.
2020-11-29 12:53:09 -06:00
Dan Niemitalo
9dd4186e1c Generates set.json files from Scryfall
I should have done this in the first place instead of figuring out how
to use MTGJSON files. Scryfall structures its data a bit differently and
notably includes a list of keywords for each card.

Having these set.json files enables easier analysis of the keyword
content of each set.
2020-11-29 12:14:26 -06:00
Dan Niemitalo
40f12289a2 Dictionary generates word list and keyword list
Added code to generate a list of keywords and frequencies for all cards.
Added the CSV output files.
2020-11-29 10:07:19 -06:00
Dan Niemitalo
21a52cc5c2 Retail draft word counts
Fixed issues with some sets, added more set codes for draftable sets,
added CSV output file.
2020-11-28 19:08:13 -06:00
Dan Niemitalo
210a178845 Retail set word counts tool
Counts average words for retail draft sets using MTGJSON set files.
Several sets excluded since a few bugs need fixing to make them work.
2020-11-28 14:20:52 -06:00
Dan Niemitalo
30f0855222 Utility for creating a list of all words found in MTG cards.
Generates a CSV file containing each word and frequency of that word.
2020-11-28 14:01:06 -06:00
henriquenakashima
c9a0c9b5a2 Average all existing cards 2020-11-26 22:55:08 -05:00
henriquenakashima
44d98f6849 Fix art cards getting included 2020-11-24 13:23:29 -05:00
henriquenakashima
55dd3e24ea Make word_count.py a bit more readable and togglable 2020-11-23 21:03:00 -05:00
henriquenakashima
d1f6771c92 Add word_count.py 2020-11-23 20:47:39 -05:00
henriquenakashima
3d6c143c0b Update csv header for CubeCobra 4.5 2020-11-23 20:46:55 -05:00
henriquenakashima
a71fcf81a0 Create generate_draft_pool.py 2020-11-02 22:47:15 -05:00
henriquenakashima
a6a3b37507
Initial commit 2020-11-02 22:14:13 -05:00