๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ s โ€บ SpellBinding โ€บ 2154 captured on 2023-07-22 at 17:13:42. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2023-07-10)

โžก๏ธ Next capture (2023-09-08)

๐Ÿšง View Differences

-=-=-=-=-=-=-

I was thinking about how many unique games can be had in spellbinding. I've been out of comp sci theory for quite a while but I came up with:

26*6^20

but I'd love someone better at this than me to correct it. 26 center letters * 20 (19?) remaining letters swapped out for each letter on the circle (6). I feel like factorials are involved but maybe not.

Posted in: s/SpellBinding

๐Ÿ€ gritty

2023-06-17 ยท 5 weeks ago

6 Comments โ†“

๐Ÿš€ stack

There are currently 12,217 pangrams in the dictionary. Each pangram is good for 7 possible games. So, 85,519, I suppose.

I keep a list of old games to avoid duplication when generating new games.

๐Ÿš€ stack

I also get rid of games with ridiculously high and low scores. I think currently limiting to between 60 and 140 or so. It is really painful to play a game with a maximum score of 800!

๐Ÿš€ stack

And if you don't care about real words, the number of possible unique permutations is 7 * 26 * 25 * 24 * 23 * 22 * 21 * 20

First letter is any of 26. Second is one of remaining 25 (since no duplicates are allowed). Likewise, the third is one of 24, etc. Finally, there are 7 possible games for each set as each of the 7 letters can go in the middle.

๐Ÿš€ mbays

@stack You forgot to account for the fact that the order of the outer letters doesn't matter. It should be 7*(26 choose 7) = 7*26!/(19!*7!) = (26*25*24*23*22*21*20)/(6*5*4*3*2*1) = 4604600. To explain: there are 26*25*24*23*22*21*20 ways to fill the spellbinding hexagon with 7 distinct letters, but any permutation of the outer 6 letters gives the same game, and there are 6! = 6*5*4*3*2*1 such permutations.

Interesting that you clamp the possible total scores! I ended up doing that in Zaubuchstabier after getting annoyed at ridiculously high-scoring games, but I'd assumed this was due to the more generative nature of German.

2023-06-20 ยท 5 weeks ago

๐Ÿš€ stack

@mbays: you are totally right, I completely missed the local permutations...

๐Ÿ€ gritty

@mbays nice. thanks for the explanation