This project is a learning project intended to be an easily extensible tool for randomizing the cards used in a non-epic game of Thunderstone Quest. Future versions will also contain the ability to select specific quests and have the correct card lists shown. Eventually this will grow to be a component of a digital version of TSQ
author = "David Marienburg"
version = "0.0.5a"
last_updated = "2020/12/06"
In its current state pyTSQ Randomizer can be used to create a fully randomized game of Thunderstone Quest. To do this simply call the class GameRandomizer using the quests you wish to draw from as parameters. These parameters should be entered as quest_x where "x" is the quest number.
from TSQ_Randomizer.pyTSQR import GameRandomizer
a = GameRandomizer("quest_1", "quest_9")
print(a.ranomized_decks)
To create a new randomized set of decks, perhaps because you weren't in love with the first ones you got, simply call the select_from_pool method and print the randomzied decks class variable again.
a.select_from_pool()
print(a.randomized_decks)
- Added starter decks for standard, barricades solo, and barricades co-op
- Added full text to all starter cards
- Added full text to all the weapon cards
- Lots of minor bug fixes
- When GameRandomizer is invoked it now:
- generates a pool of cards from all the quests called as args
- quests args are called by quest number using the quest_1 format
- generates a random game with the correct deck counts of each type
- decks should never repeat but more testing will be needed to make sure that this is functioning 100% correctly
- calling the GameRandomizer objects randomized_decks class variable will provide the random deck selections in a nested dictionary format.
- generates a pool of cards from all the quests called as args
- Added a method for loading the cards.json into a dict
- Added a method for creating a deck pool
- Monsters and Dungeon Rooms will be added to the correct level
- Added names and counts for cards in quest 9
- Added names and counts for cards up through quest 8
- Created initial outline of json
- Added card names for quests 1-7 to the json