#103348: "Better algorithm in order to get less repeats"
무엇에 대한 보고입니까?
무슨 일이 발생했나요? 아래에서 선택하세요
무슨 일이 발생했나요? 아래에서 선택하세요
같은 내용에 대하여 이미 등록된 보고가 있는지 확인해주세요
그렇다면, 이 보고를 추천해주세요. 추천을 가장 많이 받은 보고부터 우선적으로 처리됩니다!
# | Status | Votes | Game | Type | Title | Last update |
---|
상세한 설명
• 만약 오류 메세지가 화면에 나타났다면, 그 오류 메세지를 복사해서 붙여넣어 주시기 바랍니다.
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)• 무엇을 하고 싶었고, 무엇을 했고, 무슨 일이 일어났는지를 설명해 주십시오
• 브라우저가 무엇입니까?
Mozilla v5
• 현재 설정된 언어가 아니라 영어로 표시되는 문장을 복사 후 붙여넣어 주세요. 만약에 버그에 대한 스크린샷을 가지고 계신다면 Imgur.com 사이트에 업로드 하시고, 여기에 링크를 복사/붙여넣기 하시기 바랍니다.
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)• 해당 문장이 번역 본부에서 표시됩니까? 만약 그렇다면, 번역된 지 24시간이 경과했습니까?
• 브라우저가 무엇입니까?
Mozilla v5
• 최대한 쉽게 그 뜻을 이해할 수 있도록 당신의 제안을 정확하고 명료하게 설명해 주십시오.
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)• 브라우저가 무엇입니까?
Mozilla v5
• 당신이 막혔을 때 화면에 무엇이 나타났습니까?(검은 화면? 게임 인터페이스? 오류 메시지?)
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)• 브라우저가 무엇입니까?
Mozilla v5
• 어느 규칙이 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)• 게임 리플레이에서 룰 위반을 확인할 수 있습니까?만약 그렇다면, 몇번째 수에서 룰 위반이 있나요?
• 브라우저가 무엇입니까?
Mozilla v5
• 당신이 하고 싶었던 게임 내 행동이 어느 것입니까?
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)• 이 게임 행동을 하기 위해 무엇을 시도했습니까?
• 당신이 이것을 하려고 했을 때 무슨 일이 일어났습니까?(오류 메시지, 게임 상태창 메시지 등)
• 브라우저가 무엇입니까?
Mozilla v5
• 어떤 부분에서 문제가 발생 하였나요(문제가 발생했을 당시 어떤 지시가 내려졌었나요)?
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)• 당신이 게임 행동을 하려 했을 때 무슨 일이 일어났습니까?(오류 메시지, 게임 상태 막대 메시지, ...)
• 브라우저가 무엇입니까?
Mozilla v5
• 디스플레이 문제를 설명해주세요. 만약에 버그에 대한 스크린샷을 가지고 계신다면 Imgur.com 사이트에 업로드 하시고, 여기에 링크를 복사/붙여넣기 하시기 바랍니다.
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)• 브라우저가 무엇입니까?
Mozilla v5
• 현재 설정된 언어가 아니라 영어로 표시되는 문장을 복사 후 붙여넣어 주세요. 만약에 버그에 대한 스크린샷을 가지고 계신다면 Imgur.com 사이트에 업로드 하시고, 여기에 링크를 복사/붙여넣기 하시기 바랍니다.
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)• 해당 문장이 번역 본부에서 표시됩니까? 만약 그렇다면, 번역된 지 24시간이 경과했습니까?
• 브라우저가 무엇입니까?
Mozilla v5
• 최대한 쉽게 그 뜻을 이해할 수 있도록 당신의 제안을 정확하고 명료하게 설명해 주십시오.
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)• 브라우저가 무엇입니까?
Mozilla v5
보고 이력
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? :)
리포트에 내용 추가하기
- 다른 테이블 번호 / 수 번호
- 새로고침을 해서 문제가 해결 되었습니까?
- 문제가 얼마나 자주 일어났습니까?
- 만약에 버그에 대한 스크린샷을 가지고 계신다면 Imgur.com 사이트에 업로드 하시고, 여기에 링크를 복사/붙여넣기 하시기 바랍니다.