#103348: "Better algorithm in order to get less repeats"
Despre ce este vorba acest raport?
Ce s-a întâmplat? Te rugăm alege de mai jos
Ce s-a întâmplat? Te rugăm alege de mai jos
Verificați dacă există deja un raport privind același subiect
Dacă da, te rugăm VOTEAZĂ pentru acest raport. Rapoartele cu cele mai multe voturi au PRIORITATE!
| # | Status | Votes | Game | Type | Title | Last update |
|---|
Descriere detaliată
-
• Te rugăm copiază/lipeşte mesajul erorii pe care îl vezi pe ecran, dacă apare vreunul.
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) -
• Explică, te rugăm, ce ai vrut să faci, ce ai făcut, și ce s-a întâmplat
• Care e browserul tău?
Mozilla v5
-
• Va rugam copiati/lipiti textul afisat in engleza in locul limbii dumneavoastra. Dacă ai o captură de ecran cu acest bug (ceea ce îți sugerăm), poți folosi Imgur.com pentru încărcarea imaginii și pentru a pune link-ul aici.
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) -
• Este textul acesta disponibil în sistemul de traduceri? Dacă da, a fost tradus mai recent de 24 de ore?
• Care e browserul tău?
Mozilla v5
-
• Vă rugăm să explicați sugestia exact și concis, astfel încât să fie cât mai ușor de înțeles.
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) • Care e browserul tău?
Mozilla v5
-
• Ce a fost afișat pe ecran atunci când ai fost blocat (Ecran gol? O parte din interfața jocului? Mesaj de eroare?)
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) • Care e browserul tău?
Mozilla v5
-
• Care parte din reguli nu a fost respectată de adaptarea 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) -
• Se observă frauda când derulați reluarea? Dacă da, la a câta mutare?
• Care e browserul tău?
Mozilla v5
-
• Care a fost acțiunea pe care ai vrut să o faci?
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) -
• Ce ai făcut de ai produs această reacție/eroare?
-
• Ce se întâmplă atunci când vrei să faci asta (apare o eroare, un mesaj din partea jocului in partea de sus a ecranului, ...)?
• Care e browserul tău?
Mozilla v5
-
• În ce etapă a jocului a apărut eroarea (care era instrucțiunea din acel moment) ?
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) -
• Ce se întâmplă atunci când vrei să acționezi în joc (apare o eroare, un mesaj din partea jocului in partea de sus a ecranului, ...)?
• Care e browserul tău?
Mozilla v5
-
• Descrieți, vă rugăm, problema de afișaj. Dacă ai o captură de ecran cu acest bug (ceea ce îți sugerăm), poți folosi Imgur.com pentru încărcarea imaginii și pentru a pune link-ul aici.
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) • Care e browserul tău?
Mozilla v5
-
• Va rugam copiati/lipiti textul afisat in engleza in locul limbii dumneavoastra. Dacă ai o captură de ecran cu acest bug (ceea ce îți sugerăm), poți folosi Imgur.com pentru încărcarea imaginii și pentru a pune link-ul aici.
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) -
• Este textul acesta disponibil în sistemul de traduceri? Dacă da, a fost tradus mai recent de 24 de ore?
• Care e browserul tău?
Mozilla v5
-
• Vă rugăm să explicați sugestia exact și concis, astfel încât să fie cât mai ușor de înțeles.
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) • Care e browserul tău?
Mozilla v5
Raportează istoric
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? :)
Game 1) with 4 players,
Game 2) new game with a 5th player joined
Game 3) rematch of game 2 with the same players.
In the 3rd game, we had 3 words that we already had in the first game.
@Dorian Gray2 or @Mr Karotte, did you have a chance to look at the code?
I would vote for option C: let the players pick one of the 5 words on the card - but this is probably the most complex change, as the game is developed with individual words, not with cards, isn't it? Or why would there be 500 cardIds (and not 110?) as mentioned here: "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."
Adaugă ceva la acest raport
- Alt identificator de masă / de mutare
- A rezolvat F5 problema?
- Această problemă a apărut de mai multe ori? De fiecare dată? Ocazional?
- Dacă ai o captură de ecran cu acest bug (ceea ce îți sugerăm), poți folosi Imgur.com pentru încărcarea imaginii și pentru a pune link-ul aici.
