#103348: "Better algorithm in order to get less repeats"
A che riguardo è la segnalazione?
Cos'è successo? Prego, seleziona tra le seguenti
Cos'è successo? Prego, seleziona tra le seguenti
Si prega di verificare se esiste già una segnalazione sullo stesso argomento
Se sì, per favore VOTA solo questa segnalazione. Segnalazioni con più voti hanno priorità di presa in carico!
# | Status | Votes | Game | Type | Title | Last update |
---|
Descrizione dettagliata
• Per favore copia/incolla il messaggio di errore visualizzato sullo schermo, se possibile.
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)• Per favore spiega cosa avresti voluto fare, cosa hai fatto e cosa è successo
• Qual è il tuo browser?
Mozilla v5
• Per favore copia/incolla il testo visualizzato in inglese invece che nella tua lingua. Se hai una schermata di questo errore (cosa buona e giusta), puoi usare Imgur.com per caricarla e fare copia/incolla del link qui.
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)• Questo testo è disponibile nel sistema di traduzione? Se sì, è stato tradotto nell'arco di più di 24 ore?
• Qual è il tuo browser?
Mozilla v5
• Spiega il tuo suggerimento in modo preciso e conciso in modo che sia il più semplice possibile per capire cosa intendi.
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)• Qual è il tuo browser?
Mozilla v5
• Cosa era mostrato sullo schermo quando sei rimasto bloccato (schermo bianco? interfaccia di gioco parziale? messaggio di errore?)
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)• Qual è il tuo browser?
Mozilla v5
• Quale parte delle regole non è stata rispettata dall'adattamento 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)• La violazione delle regole è visibile nel replay della partita? Se sì, a che numero di mossa?
• Qual è il tuo browser?
Mozilla v5
• Qual era l'azione di gioco che volevi fare?
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)• Cosa stai provando a fare per attivare questa azione di gioco?
• Cosa è successo quando hai provato a fare questo (messaggio di errore, messaggio nella barra di stato del gioco...)?
• Qual è il tuo browser?
Mozilla v5
• In quale fase del gioco si è verificato il problema (qual era l'istruzione della partita in corso)?
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)• Cosa è successo quando hai provato a fare questa azione di gioco (messaggio di errore, messaggio nella barra di stato del gioco...)?
• Qual è il tuo browser?
Mozilla v5
• Per favore descrivi il problema rilevato. Se hai una schermata di questo errore (cosa buona e giusta), puoi usare Imgur.com per caricarla e fare copia/incolla del link qui.
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)• Qual è il tuo browser?
Mozilla v5
• Per favore copia/incolla il testo visualizzato in inglese invece che nella tua lingua. Se hai una schermata di questo errore (cosa buona e giusta), puoi usare Imgur.com per caricarla e fare copia/incolla del link qui.
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)• Questo testo è disponibile nel sistema di traduzione? Se sì, è stato tradotto nell'arco di più di 24 ore?
• Qual è il tuo browser?
Mozilla v5
• Spiega il tuo suggerimento in modo preciso e conciso in modo che sia il più semplice possibile per capire cosa intendi.
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)• Qual è il tuo browser?
Mozilla v5
Storico dei resoconti
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? :)
Aggiungi qualcosa a questo report
- Un altro ID tavolo / ID mossa
- F5 ha risolto il problema?
- Il problema si verifica spesso? Ogni volta? Casualmente?
- Se hai una schermata di questo errore (cosa buona e giusta), puoi usare Imgur.com per caricarla e fare copia/incolla del link qui.