Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: [1] 2 3 4  All

Author Topic: How Many Possible Kingdoms?  (Read 24165 times)

0 Members and 1 Guest are viewing this topic.

kilgoretrout103

  • Alchemist
  • ***
  • Offline Offline
  • Posts: 36
  • Respect: +74
    • View Profile
How Many Possible Kingdoms?
« on: June 09, 2012, 03:09:06 pm »
+3

Theory stated in his excellent review of Dominion that there are roughly 2 quadrillion different Kingdom combinations. I assume he arrived at this by calculating 157 choose 10, which is about 1.8 quadrillion. That's a fairly good starting point, but it fails to take into account the presence of a Bane card, or whether a game has Colonies/Platinums.

In the Isotropic downtime this morning, I started thinking: exactly how many different Kingdoms are there? Two hours and a bunch of combinatorics later, I arrived at my answer: 1*10^24, or about 1 septillion! That's nine orders of magnitude higher than theory's estimate! Jesus.

Anyway, just thought I'd share my results from an interesting (if not strategically relevant) problem. I attached a doc showing my work. It presupposes a basic understanding of Dominion and discrete math, but if any other game-playing mathematicians out there want to check my work or comment on it, I'd love to hear from you!

EDIT: You need a recent copy of Word to open the document... I have a PDF, but it's slightly too big to post here. PM me with your email address and I can email you a copy.

EDIT2: Do a typo when I input my formula to Wolfram Alpha, I am revising my answer down to 1.23 x 10^16, or about 12 quadrillion.
« Last Edit: June 11, 2012, 05:12:18 pm by kilgoretrout103 »
Logged

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4384
    • View Profile
    • WanderingWinder YouTube Page
Re: How Many Possible Kingdoms?
« Reply #1 on: June 09, 2012, 03:17:13 pm »
+1

Theory stated in his excellent review of Dominion that there are roughly 2 quadrillion different Kingdom combinations. I assume he arrived at this by calculating 157 choose 10, which is about 1.8 quadrillion. That's a fairly good starting point, but it fails to take into account the presence of a Bane card, or whether a game has Colonies/Platinums.

In the Isotropic downtime this morning, I started thinking: exactly how many different Kingdoms are there? Two hours and a bunch of combinatorics later, I arrived at my answer: 1*10^24, or about 1 septillion! That's nine orders of magnitude higher than theory's estimate! Jesus.

Anyway, just thought I'd share my results from an interesting (if not strategically relevant) problem. I attached a doc showing my work. It presupposes a basic understanding of Dominion and discrete math, but if any other game-playing mathematicians out there want to check my work or comment on it, I'd love to hear from you!
Oh man, you're not doing black market right. 30 cards in the BM? Where did you get that? You can have whatever you want in the BM, so long as it's not already in the kingdom.... Which of course means that your estimate is many, many, many orders of magnitude too small. Also, with the young witch, you choose the other kingdom cards BEFORE grabbing the bane, and yes, that makes a difference. Not to mention, why can't you have platinum and colony without any other prosperity cards? Sure, it's not recommended, but they also recommend that you have multiple alchemy cards if you have one....
Anyway, my point is that how many there are depends very much on what restrictions you put on, and if you just follow the rulebooks in the broadest possible sense... there's a LOT. Way too many to calculate - it's a very intricate thing, mostly because of black market.

kilgoretrout103

  • Alchemist
  • ***
  • Offline Offline
  • Posts: 36
  • Respect: +74
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #2 on: June 09, 2012, 03:24:12 pm »
+4

I should have stated: I am assuming Isotropic rules, which means the probability of using Colonies is equal to the number of Prosperity cards in the Kingdom divided by 10. Also, on Isotropic, the Black Market deck is 30 randomly chosen cards, not all the extra cards.

Also, I am not counting differences in Black Market decks as different cases. The exercise is to determine how many possible KINGDOMS exist. The Kingdom and the Black Market deck are independent, except when Young Witch is in the Black Market deck, which is a case I study.

As for the order of when you choose the cards (that is, Bane first or the rest of the Kingdom first), I don't think that actually impacts the number of possible outcomes, so I think it's irrelevant. Could you explain to me how it might matter?
Logged

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #3 on: June 09, 2012, 03:26:49 pm »
0

^ What he said.  Technically, cards in the Black Market deck aren't in the Kingdom.  You aren't considering Prize cards in this, I'm assuming - it's the same principle there.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

Tables

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2816
  • Build more Bridges in the King's Court!
  • Respect: +3349
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #4 on: June 09, 2012, 03:37:46 pm »
0

Unfortunately, the document isn't working for me, but 1 septillion seems out, unless you included every possible Black Market, which while technically correct, is a bit... blah. If you do, then it's probably right, but an incredibly vast majority are virtually identical games. If you don't, well... I'll do some quick calculations here (all done in head, yes I know I'm sitting by a computer I don't care) (pre-post edit: I didn't see the second and third post while making this, but I think asides from the Black Market considerations nothing really changes?)

Colony/Platinum is simply a factor of 2. Yes or No. So that can be factored in later. Young Witch is in 10/157th's of games, correct? And it has about... uh, 45 cards to choose, give or take? Well, on average about 1/3rd of those are already in game, so about 30. So we need to add on 10*30/157 lots of the games we have, then multiply by 2 for colony/platinum, making about 7 quadrillion games?

Black Market really does add a lot, though. If it's there, then there's 147 cards not in the game which may or may not be in the BM deck, which makes roughly 2^147 ~=10^45ish choices (approximating as 2^10=10^3)? Which actually makes me wonder exactly where your number came from, and I wish the document actually worked ¬_¬.
Logged
...spin-offs are still better for all of the previously cited reasons.
But not strictly better, because the spinoff can have a different cost than the expansion.

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4384
    • View Profile
    • WanderingWinder YouTube Page
Re: How Many Possible Kingdoms?
« Reply #5 on: June 09, 2012, 04:17:01 pm »
0

I should have stated: I am assuming Isotropic rules, which means the probability of using Colonies is equal to the number of Prosperity cards in the Kingdom divided by 10. Also, on Isotropic, the Black Market deck is 30 randomly chosen cards, not all the extra cards.

Also, I am not counting differences in Black Market decks as different cases. The exercise is to determine how many possible KINGDOMS exist. The Kingdom and the Black Market deck are independent, except when Young Witch is in the Black Market deck, which is a case I study.
On isotropic, Black market deck has 25 cards, not 30. Which is why I was so confused as to where 30 comes from. I think you should specify how many kingdoms are possible on isotropic, too, because that's not the number of kingdoms in dominion. Your comment on the ordering may be right. But I think the biggest thing is, different Black Market decks makes a big difference, so for any reason that you'd actually care about the number, you want those split out.

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #6 on: June 09, 2012, 04:31:10 pm »
0

I should have stated: I am assuming Isotropic rules, which means the probability of using Colonies is equal to the number of Prosperity cards in the Kingdom divided by 10. Also, on Isotropic, the Black Market deck is 30 randomly chosen cards, not all the extra cards.

Also, I am not counting differences in Black Market decks as different cases. The exercise is to determine how many possible KINGDOMS exist. The Kingdom and the Black Market deck are independent, except when Young Witch is in the Black Market deck, which is a case I study.
On isotropic, Black market deck has 25 cards, not 30. Which is why I was so confused as to where 30 comes from. I think you should specify how many kingdoms are possible on isotropic, too, because that's not the number of kingdoms in dominion. Your comment on the ordering may be right. But I think the biggest thing is, different Black Market decks makes a big difference, so for any reason that you'd actually care about the number, you want those split out.

Why does iso only use 25 cards for the BM deck?  Aren't you supposed to use every possible card?
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

WanderingWinder

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5275
  • ...doesn't really matter to me
  • Respect: +4384
    • View Profile
    • WanderingWinder YouTube Page
Re: How Many Possible Kingdoms?
« Reply #7 on: June 09, 2012, 04:32:06 pm »
+3

I should have stated: I am assuming Isotropic rules, which means the probability of using Colonies is equal to the number of Prosperity cards in the Kingdom divided by 10. Also, on Isotropic, the Black Market deck is 30 randomly chosen cards, not all the extra cards.

Also, I am not counting differences in Black Market decks as different cases. The exercise is to determine how many possible KINGDOMS exist. The Kingdom and the Black Market deck are independent, except when Young Witch is in the Black Market deck, which is a case I study.
On isotropic, Black market deck has 25 cards, not 30. Which is why I was so confused as to where 30 comes from. I think you should specify how many kingdoms are possible on isotropic, too, because that's not the number of kingdoms in dominion. Your comment on the ordering may be right. But I think the biggest thing is, different Black Market decks makes a big difference, so for any reason that you'd actually care about the number, you want those split out.

Why does iso only use 25 cards for the BM deck?  Aren't you supposed to use every possible card?
No. You're supposed to do whatever the heck you want.

O

  • Jester
  • *****
  • Offline Offline
  • Posts: 836
  • Respect: +605
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #8 on: June 09, 2012, 05:05:14 pm »
+4

Personally I just place whatever is left from the following set into the BM:

Sea Hag, Ambassador, King's Court, Chapel, Fishing Village, Masquerade, Goons, Mountebank, Ghost Ship
Logged

Davio

  • 2012 Dutch Champion
  • *
  • Offline Offline
  • Posts: 4787
  • Respect: +3412
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #9 on: June 09, 2012, 05:15:42 pm »
0

Just add 1 fan card and increase it to a gazillion!
Logged

BSG: Cagprezimal Adama
Mage Knight: Arythea

qmech

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1918
  • Shuffle iT Username: qmech
  • What year is it?
  • Respect: +2320
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #10 on: June 09, 2012, 05:16:13 pm »
+1

It doesn't matter so much what model we're using for the Black Market, as all we care about is whether the Young Witch is in there.

I can read the chat in the original attachment in LibreOffice, but not any of the calculations.  However, I get a different answer:

Requiring a Prosperity card for a Colony game:

Unmarked Bane: 9 425 875 509 228 462 (9.4... x 10^15)
Marked Bane: 19 688 979 465 082 140 (1.9... x 10^16)

Not requiring a Prosperity card for a Colony game:

Unmarked Bane: 10 254 691 226 062 866 (1.0... x 10^16)
Marked Bane: 21 614 757 429 266 540 (2.1... x 10^16)

As expected, these numbers aren't so much more than (157 choose 10) = 1 871 392 332 785 690 (1.8.. x 10^15).  Accounting for Colonies and a marked Bane can't possibly increase the number of Kingdoms by more than 40 (as removing the Young Witch and Colonies and unmarking the Bane produces an unadorned Kingdom).
Logged

Obi Wan Bonogi

  • Apprentice
  • *****
  • Offline Offline
  • Posts: 254
  • Respect: +344
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #11 on: June 09, 2012, 05:23:41 pm »
0

Personally I just place whatever is left from the following set into the BM:

Sea Hag, Ambassador, King's Court, Chapel, Fishing Village, Masquerade, Goons, Mountebank, Ghost Ship

Oh man, I like your style here.  I love BM and this one is juicy.


On another note: we could nearly double the possible kingdoms if colony/plat was a toggle on/off as opposed to being linked to prosperity...just an idea =D

Logged

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #12 on: June 09, 2012, 05:25:24 pm »
+1

It doesn't matter so much what model we're using for the Black Market, as all we care about is whether the Young Witch is in there.

I can read the chat in the original attachment in LibreOffice, but not any of the calculations.  However, I get a different answer:

Requiring a Prosperity card for a Colony game:

Unmarked Bane: 9 425 875 509 228 462 (9.4... x 10^15)
Marked Bane: 19 688 979 465 082 140 (1.9... x 10^16)

Not requiring a Prosperity card for a Colony game:

Unmarked Bane: 10 254 691 226 062 866 (1.0... x 10^16)
Marked Bane: 21 614 757 429 266 540 (2.1... x 10^16)

As expected, these numbers aren't so much more than (157 choose 10) = 1 871 392 332 785 690 (1.8.. x 10^15).  Accounting for Colonies and a marked Bane can't possibly increase the number of Kingdoms by more than 40 (as removing the Young Witch and Colonies and unmarking the Bane produces an unadorned Kingdom).

What do you mean, a "marked" Bane?
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

qmech

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1918
  • Shuffle iT Username: qmech
  • What year is it?
  • Respect: +2320
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #13 on: June 09, 2012, 05:35:16 pm »
0

When you're actually playing the game, the Bane is marked.  If you're only interested in the set of 11 cards that are used then I referred to that as an unmarked Bane.  I'm not sure which is a better definition, so I did both.
Logged

qmech

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1918
  • Shuffle iT Username: qmech
  • What year is it?
  • Respect: +2320
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #14 on: June 09, 2012, 05:50:20 pm »
0

On another note: we could nearly double the possible kingdoms if colony/plat was a toggle on/off as opposed to being linked to prosperity...just an idea =D
Perhaps surprisingly, it's not that useful.  You have to be fairly unlucky not to draw any Prosperity cards at all in a random Kingdom: it's about a 17.6% chance, which translates to only about an 8% boost in the total number of Kingdoms.
Logged

Davio

  • 2012 Dutch Champion
  • *
  • Offline Offline
  • Posts: 4787
  • Respect: +3412
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #15 on: June 09, 2012, 06:37:43 pm »
+1

I don't think exact numbers matter here, it's more an Order of Magnitude thing.

Anything above 1 Milliard (1e9) becomes incomprehensible really fast.

So even if it's in the range of 1e15 - making a conservative guess - this still means that it will take 380 million years(!!!) to play every single setup if you play on iso with 5 mins per game (which is pretty quick).

We often talk about combos on these forums and the chance for any 2 cards to be seen together is already pretty slim and gets smaller as more expansions come out. So while these combos are funny little tricks, they don't add that much to the entire strategy domain and may even cause automative thinking.

I just have to tip my hat to the designer that after a year or so (how long has it been?) there are still a lot of kingdoms which can surprise me and leave me with no clue what to do.
Logged

BSG: Cagprezimal Adama
Mage Knight: Arythea

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9630
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #16 on: June 09, 2012, 06:47:56 pm »
0

Anything above 1 Milliard (1e9) becomes incomprehensible really fast.

No one uses long form.  Go back to the dark ages.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

Kirian

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7096
  • Shuffle iT Username: Kirian
  • An Unbalanced Equation
  • Respect: +9412
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #17 on: June 09, 2012, 08:56:14 pm »
0

I should have stated: I am assuming Isotropic rules, which means the probability of using Colonies is equal to the number of Prosperity cards in the Kingdom divided by 10.

That probability doesn't matter for the number of total kingdoms.  It either has Colony/Platinum, or it doesn't.  Two different kingdoms.
Logged
Kirian's Law of f.DS jokes:  Any sufficiently unexplained joke is indistinguishable from serious conversation.

eHalcyon

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8689
  • Respect: +9187
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #18 on: June 09, 2012, 09:03:10 pm »
0

I should have stated: I am assuming Isotropic rules, which means the probability of using Colonies is equal to the number of Prosperity cards in the Kingdom divided by 10.

That probability doesn't matter for the number of total kingdoms.  It either has Colony/Platinum, or it doesn't.  Two different kingdoms.

Well, using isotropic rules would prevent kingdoms from having colony/plat if there are no prosperity cards in play.
Logged

kilgoretrout103

  • Alchemist
  • ***
  • Offline Offline
  • Posts: 36
  • Respect: +74
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #19 on: June 09, 2012, 09:04:23 pm »
0

I should have stated: I am assuming Isotropic rules, which means the probability of using Colonies is equal to the number of Prosperity cards in the Kingdom divided by 10.

That probability doesn't matter for the number of total kingdoms.  It either has Colony/Platinum, or it doesn't.  Two different kingdoms.

I agree that the probability doesn't matter. Its only impact is that in a game with ZERO cards from Prosperity, Colonies/Platinums are impossible. Similarly, a game with ONLY Prosperity cards requires Colonies/Platinums. So that reduces the overall number of Kingdoms. (That is, the Kingdom with 10 Prosperity cards but no Colonies doesn't exist.)

EDIT: eHalcyon beat me to it. What he said.
Logged

kilgoretrout103

  • Alchemist
  • ***
  • Offline Offline
  • Posts: 36
  • Respect: +74
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #20 on: June 09, 2012, 09:06:57 pm »
0

It doesn't matter so much what model we're using for the Black Market, as all we care about is whether the Young Witch is in there.

I can read the chat in the original attachment in LibreOffice, but not any of the calculations.  However, I get a different answer:

Requiring a Prosperity card for a Colony game:

Unmarked Bane: 9 425 875 509 228 462 (9.4... x 10^15)
Marked Bane: 19 688 979 465 082 140 (1.9... x 10^16)

Not requiring a Prosperity card for a Colony game:

Unmarked Bane: 10 254 691 226 062 866 (1.0... x 10^16)
Marked Bane: 21 614 757 429 266 540 (2.1... x 10^16)

As expected, these numbers aren't so much more than (157 choose 10) = 1 871 392 332 785 690 (1.8.. x 10^15).  Accounting for Colonies and a marked Bane can't possibly increase the number of Kingdoms by more than 40 (as removing the Young Witch and Colonies and unmarking the Bane produces an unadorned Kingdom).

I'm interested where your numbers come from. I wish you could see my calculations, as I'd like to have an opinion on whether they make sense or not. PM with your email and I can send a PDF.
Logged

ycz6

  • Minion
  • *****
  • Offline Offline
  • Posts: 676
  • Respect: +412
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #21 on: June 10, 2012, 12:12:57 am »
+1

Well, using isotropic rules would prevent kingdoms from having colony/plat if there are no prosperity cards in play.
False!
Logged

eHalcyon

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8689
  • Respect: +9187
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #22 on: June 10, 2012, 02:27:40 am »
0

Well, using isotropic rules would prevent kingdoms from having colony/plat if there are no prosperity cards in play.
False!

I stand corrected.

That's from actually specifying Colony/Plat, right?
Logged

Davio

  • 2012 Dutch Champion
  • *
  • Offline Offline
  • Posts: 4787
  • Respect: +3412
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #23 on: June 10, 2012, 03:02:28 am »
0

Anything above 1 Milliard (1e9) becomes incomprehensible really fast.

No one uses long form.  Go back to the dark ages.
Continental Europe does. And it makes more sense than short form.
At least there's no possible confusion with it.

Tell me, how much is a Trillion? (2 answers possible).
Logged

BSG: Cagprezimal Adama
Mage Knight: Arythea

qmech

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1918
  • Shuffle iT Username: qmech
  • What year is it?
  • Respect: +2320
    • View Profile
Re: How Many Possible Kingdoms?
« Reply #24 on: June 10, 2012, 05:45:25 am »
0

I'm interested where your numbers come from. I wish you could see my calculations, as I'd like to have an opinion on whether they make sense or not. PM with your email and I can send a PDF.

I'll do the number of games without Colonies as an example.

Number of Kingdoms without Young Witch: (156 choose 10)
Number of Kingdoms with Young Witch (marked Bane): 42(155 choose 9)
Number of Kingdoms with Young Witch (unmarked Bane): (156 choose 10) - (114 choose 10)
Number of Kingdoms with Black Market -> Young Witch (marked Bane): 41(154 choose 9)
Number of Kingdoms with Black Market -> Young Witch (unmarked Bane): (155 choose 10) - (114 choose 10)

To get the number of Colony games I did the same calculations for all the non-Prosperity cards, then subtracted off the totals.  What I didn't do is subtract off the Prosperity-only games from the non-Colony total, which I should have under the rules you specified.

I can take a look at your calculations if you like.  PM sent.
Logged
Pages: [1] 2 3 4  All
 

Page created in 0.122 seconds with 20 queries.