#103348: "Better algorithm in order to get less repeats"
Bu rapor neyle alakali?
Ne oldu? Lütfen aşağıdan seçin
Ne oldu? Lütfen aşağıdan seçin
Lütfen aynı konuda bir rapor olup olmadığını kontrol edin
Eğer evet ise, lütfen bu rapor için oy verin. En çok oy alan raporlar ÖNCELİKLİ!
# | Status | Votes | Game | Type | Title | Last update |
---|
Detayli tanim
• Eğer varsa, lütfen ekranda gördüğünüz hata mesajını kopyalayın/yapıştırın.
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)• Lütfen ne yapmak istediğini, ne yaptığını ve ne olduğunu açıkla.
• Hangi browseri kullaniyorsun?
Mozilla v5
• Lütfen görüntülenen metni kendi diliniz yerine İngilizce olarak kopyalayın/yapıştırın. Bu hatanın bir ekran görüntüsüne sahipseniz (iyi uygulama), onu yüklemek ve bağlantıyı buraya kopyalamak / yapıştırmak için Imgur.com kullanabilirsiniz.
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)• Bu metin çeviri sisteminde mevcut mu? Evet ise 24 saatten fazla bir süredir tercüme edildi mi?
• Hangi browseri kullaniyorsun?
Mozilla v5
• Lütfen önerinizi tam ve net olarak açıklayın, böylece ne demek istediğinizi mümkün olduğunca kolay anlayabiliriz.
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)• Hangi browseri kullaniyorsun?
Mozilla v5
• Engellendiğinizde ekranda ne belirdi (Boş ekran? Oyun arayüzünün bir parçası mı? Hata mesajı?)
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)• Hangi browseri kullaniyorsun?
Mozilla v5
• Kuralların hangi kısmına BGA adaptasyonu tarafından saygı gösterilmedi
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)• Kural ihlali oyun tekrarında görünür mü? Eğer evet ise, hangi hareket numarası?
• Hangi browseri kullaniyorsun?
Mozilla v5
• Hangi oyun aksiyonu yapmak istedin?
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)• Bu oyun eylemini tetiklemek için ne yapmaya çalışıyorsun?
• Bunu yapmaya çalıştığınızda ne oldu (hata mesajı, oyun durum çubuğu mesajı, ...)?
• Hangi browseri kullaniyorsun?
Mozilla v5
• Oyunun hangi aşamasında sorun oluştu (mevcut oyun talimatı neydi)?
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)• Bir oyun kurmaya çalıştığınızda ne oldu (hata mesajı, oyun durum çubuğu mesajı, ...)?
• Hangi browseri kullaniyorsun?
Mozilla v5
• Lütfen görüntü sorununu açıklayın. Bu hatanın bir ekran görüntüsüne sahipseniz (iyi uygulama), onu yüklemek ve bağlantıyı buraya kopyalamak / yapıştırmak için Imgur.com kullanabilirsiniz.
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)• Hangi browseri kullaniyorsun?
Mozilla v5
• Lütfen görüntülenen metni kendi diliniz yerine İngilizce olarak kopyalayın/yapıştırın. Bu hatanın bir ekran görüntüsüne sahipseniz (iyi uygulama), onu yüklemek ve bağlantıyı buraya kopyalamak / yapıştırmak için Imgur.com kullanabilirsiniz.
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)• Bu metin çeviri sisteminde mevcut mu? Evet ise 24 saatten fazla bir süredir tercüme edildi mi?
• Hangi browseri kullaniyorsun?
Mozilla v5
• Lütfen önerinizi tam ve net olarak açıklayın, böylece ne demek istediğinizi mümkün olduğunca kolay anlayabiliriz.
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)• Hangi browseri kullaniyorsun?
Mozilla v5
Rapor geçmişi
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? :)
Bu rapora ekleme yap
- Başka bir masa ID / hareket ID
- F5 sorunu çözdü mü?
- Bu sorun cok mu oluyor ? Her zaman mi ? Tesadüfen mi ?
- Bu hatanın bir ekran görüntüsüne sahipseniz (iyi uygulama), onu yüklemek ve bağlantıyı buraya kopyalamak / yapıştırmak için Imgur.com kullanabilirsiniz.