Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate random decks #32

Open
nwawrzyniak opened this issue Sep 24, 2019 · 3 comments
Open

Generate random decks #32

nwawrzyniak opened this issue Sep 24, 2019 · 3 comments
Labels
feature new feature partial partially implemented

Comments

@nwawrzyniak
Copy link

Possibility to create a random deck from your collection.

This would mean having to parse/know the players entire collection. Normal cards as well as the shiny amounts.
The decks could be either gold-curve-balanced with some cards of every cost or maybe fetch like 10 randomly cards selected cards and fill the deck with cards that share synergies like keywords and tribes. I Don't really care about how the random deck works tbh as long as decks are somewhat playable while completely random and not only the highest cost cards or something.

For comparison: Hearthstone got a similar feature and goes so far to take card synergy statistics into account and fills decks after a few random cards with the cards that are most oftenly played along them. A little overkill but creates cool, smart, random decks.

@feildmaster feildmaster added the feature new feature label Jan 1, 2020
@feildmaster
Copy link
Owner

I'll be honest, "somewhat playable" is pretty impossible without making underscript have 5000 lines of code just to generate the deck

@nwawrzyniak
Copy link
Author

Nah, the deck should already be (somewhat) playable once you just add cards that share a single keyword, for example creating full taunt decks by adding a lot of cards that include the word "taunt", a silencer deck by adding cards with the keyword "silence" and so on. These decks may also contain anti-synergy (e.g. if there was a spell that deals less damage the more taunt monsters are on board it would still be included in the deck), but this would be a way to reduce the amount of lines needed to well under 100.

TL;DR: You're thinking to complicated. Deck generation does not need to be that smart.

@feildmaster
Copy link
Owner

Ah, completely skipped over that part... Right now I'm just thinking of filling it completely randomly... I'll think of more logic later.

So long as I get a good base I can plan other things later, I suppose.

@feildmaster feildmaster added the partial partially implemented label Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature partial partially implemented
Projects
None yet
Development

No branches or pull requests

2 participants