#103348: "Better algorithm in order to get less repeats"
De què tracta aquest informe?
Què ha passat? Si us plau, selecciona a sota
Què ha passat? Si us plau, selecciona a sota
Si us plau, comprova si ja existeix un informe sobre el mateix tema
En cas afirmatiu, si us plau VOTA per aquest informe. Els informes amb més vots tenen PRIORITAT!
# | Status | Votes | Game | Type | Title | Last update |
---|
Descripció detallada
• Si us plau, copia i enganxa el missatge d'error que veus a la pantalla, si és que n'hi ha algun.
As discussed here: boardgamearena.com/forum/viewtopic.php?t=27740&start=30
Possible solutions:
a) Algorithm 1 (13 distinct cards out of 110 are chosen randomly and for each chosen card 1 word out of 5 is chosen randomly)
or
b) Algorithm 2 (13 distinct words out of 550 are chosen randomly)
or
c) Give players the opportunity to choose 1 out of 5 words (as in the physical game)• Si us plau, què volies fer, què vas fer i que va succeir
• Quin és el meu navegador?
Mozilla v5
• Si us plau, copieu/enganxeu el text mostrat en anglès en comptes del teu idioma. Si tens una captura de pantalla d'aquest error (bona pràctica), pots utilitzar Imgur.com per pujar-ho i copiar i enganxar el link aquí.
As discussed here: boardgamearena.com/forum/viewtopic.php?t=27740&start=30
Possible solutions:
a) Algorithm 1 (13 distinct cards out of 110 are chosen randomly and for each chosen card 1 word out of 5 is chosen randomly)
or
b) Algorithm 2 (13 distinct words out of 550 are chosen randomly)
or
c) Give players the opportunity to choose 1 out of 5 words (as in the physical game)• És aquest text disponible al sistema de traducció? Si és així, ha sigut traduït fa més de 24 hores?
• Quin és el meu navegador?
Mozilla v5
• Si us plau, expliqueu el vostre suggeriment de manera precisa i concisa, per que sigui el més fàcil d'entendre possible.
As discussed here: boardgamearena.com/forum/viewtopic.php?t=27740&start=30
Possible solutions:
a) Algorithm 1 (13 distinct cards out of 110 are chosen randomly and for each chosen card 1 word out of 5 is chosen randomly)
or
b) Algorithm 2 (13 distinct words out of 550 are chosen randomly)
or
c) Give players the opportunity to choose 1 out of 5 words (as in the physical game)• Quin és el meu navegador?
Mozilla v5
• Què es mostrava a la pantalla quan estaves bloquejat (pantalla en blanc? Part de la interfície del joc? Missatge d'error?)
As discussed here: boardgamearena.com/forum/viewtopic.php?t=27740&start=30
Possible solutions:
a) Algorithm 1 (13 distinct cards out of 110 are chosen randomly and for each chosen card 1 word out of 5 is chosen randomly)
or
b) Algorithm 2 (13 distinct words out of 550 are chosen randomly)
or
c) Give players the opportunity to choose 1 out of 5 words (as in the physical game)• Quin és el meu navegador?
Mozilla v5
• Quina part de les regles no s'han respectat per l'adaptació de BGA
As discussed here: boardgamearena.com/forum/viewtopic.php?t=27740&start=30
Possible solutions:
a) Algorithm 1 (13 distinct cards out of 110 are chosen randomly and for each chosen card 1 word out of 5 is chosen randomly)
or
b) Algorithm 2 (13 distinct words out of 550 are chosen randomly)
or
c) Give players the opportunity to choose 1 out of 5 words (as in the physical game)• És visible la violació de les normes durant la repetició de la partida? Si es així, en quin número de moviment?
• Quin és el meu navegador?
Mozilla v5
• Quina va ser l'acció del joc que volies fer?
As discussed here: boardgamearena.com/forum/viewtopic.php?t=27740&start=30
Possible solutions:
a) Algorithm 1 (13 distinct cards out of 110 are chosen randomly and for each chosen card 1 word out of 5 is chosen randomly)
or
b) Algorithm 2 (13 distinct words out of 550 are chosen randomly)
or
c) Give players the opportunity to choose 1 out of 5 words (as in the physical game)• Què intentes fer per dur a terme aquesta acció del joc?
• Què va passar quan ho vas intentar fer (missatge d'error, missatge de la barra d'estat de la partida, ...)?
• Quin és el meu navegador?
Mozilla v5
• A quina fase del joc va passar l'error (quina era la ordre en curs)?
As discussed here: boardgamearena.com/forum/viewtopic.php?t=27740&start=30
Possible solutions:
a) Algorithm 1 (13 distinct cards out of 110 are chosen randomly and for each chosen card 1 word out of 5 is chosen randomly)
or
b) Algorithm 2 (13 distinct words out of 550 are chosen randomly)
or
c) Give players the opportunity to choose 1 out of 5 words (as in the physical game)• Què va passar quan vas intentar dur a terme l'acció del joc (missatge d'error, missatge de la barra d'estat del joc, ...)?
• Quin és el meu navegador?
Mozilla v5
• Si us plau, descriviu el problema de visualització. Si tens una captura de pantalla d'aquest error (bona pràctica), pots utilitzar Imgur.com per pujar-ho i copiar i enganxar el link aquí.
As discussed here: boardgamearena.com/forum/viewtopic.php?t=27740&start=30
Possible solutions:
a) Algorithm 1 (13 distinct cards out of 110 are chosen randomly and for each chosen card 1 word out of 5 is chosen randomly)
or
b) Algorithm 2 (13 distinct words out of 550 are chosen randomly)
or
c) Give players the opportunity to choose 1 out of 5 words (as in the physical game)• Quin és el meu navegador?
Mozilla v5
• Si us plau, copieu/enganxeu el text mostrat en anglès en comptes del teu idioma. Si tens una captura de pantalla d'aquest error (bona pràctica), pots utilitzar Imgur.com per pujar-ho i copiar i enganxar el link aquí.
As discussed here: boardgamearena.com/forum/viewtopic.php?t=27740&start=30
Possible solutions:
a) Algorithm 1 (13 distinct cards out of 110 are chosen randomly and for each chosen card 1 word out of 5 is chosen randomly)
or
b) Algorithm 2 (13 distinct words out of 550 are chosen randomly)
or
c) Give players the opportunity to choose 1 out of 5 words (as in the physical game)• És aquest text disponible al sistema de traducció? Si és així, ha sigut traduït fa més de 24 hores?
• Quin és el meu navegador?
Mozilla v5
• Si us plau, expliqueu el vostre suggeriment de manera precisa i concisa, per que sigui el més fàcil d'entendre possible.
As discussed here: boardgamearena.com/forum/viewtopic.php?t=27740&start=30
Possible solutions:
a) Algorithm 1 (13 distinct cards out of 110 are chosen randomly and for each chosen card 1 word out of 5 is chosen randomly)
or
b) Algorithm 2 (13 distinct words out of 550 are chosen randomly)
or
c) Give players the opportunity to choose 1 out of 5 words (as in the physical game)• Quin és el meu navegador?
Mozilla v5
Historial de denúncies
Sorry for that but I'm not ready to invest my time in Just One anymore
So for example, if $wordID is 1, it would take the first word for every 13 card?
That would be like 5 options for the card index combinations.
I guess the fix would be to use a different word index for every of the 13 cards. that would be like 5^13 = 1.220.703.125 options.
So, you would have to recalculate the wordID for each card, instead of computing it once on game start. Seems to be a pretty trivial change, isn't it?
If you would share code I could take a look at that.
I don't have an idea why this algo would be biased towards specific words. I guess that either your card shuffling or the index selection is flawed. Are you using random_int(4) for that wordID? And how do you shuffle cards?
We are forced to use bga_rand() and I'm using it.
However for cardIds I create an array from 0 to 549, use PHP shuffle() method and take first 13 or first 550 depending on a game option.
Consider two different games.
Assume you drew [b]two[/b] equal [b]cards[/b] in both games.
The propability that [b]both[/b] cards have the same word (two repetitions) is:
- 20 % in your variant (you have to select the same index in the second game as in the first, and both words will repeat)
- 4 % in the variant with indices per card (as you select a different index for each card).
If you have 3 same cards, it's always 20% in your variant, and 0.8% in the index-per-card-variant.
I guess that would just feel more random to players. If you have one repetition, you don't notice it. If you have [b]two[/b] repetitions, you might notice it.
So, could you pretty please change it? :)
Afegeix quelcom a aquest report
- Un altre ID de partida / ID de moviment
- Prémer F5 ha ajudat a arreglar el problema?
- El problema apareix diversos cops? Cada cop? a l'atzar?
- Si tens una captura de pantalla d'aquest error (bona pràctica), pots utilitzar Imgur.com per pujar-ho i copiar i enganxar el link aquí.