joseffaghihi / GamificationAlgebraConcepts

Gamification of Algebra Concepts
0 stars 1 forks source link

[MMM:Ship] Possible to cheat by random luck #27

Closed SibTiger closed 8 years ago

SibTiger commented 8 years ago

Following with this ticket; https://github.com/joseffaghihi/GamificationAlgebraConcepts/issues/26#issuecomment-222384260 It is still possible to get the answer in the beginning of the array if the: answerTailArray && answersRepeated are both true. When answerTailArray is true, the repeated answers should be shifted over to the middle or the tail of the array.

SibTiger commented 8 years ago

I have tried to address this issue in this commit [ ed4e8caea581783a4e2aacc5dab11bf4729dbbd1 ], but this requires further testing. Would someone kindly test this out and let me know of the output pre-run, please.

SibTiger commented 8 years ago

I did a vigorous scan by taking 536972 samples and made sure that answer stayed at the second half of the array, so far - I think I can confirm it fixed ;) VIGOROUS SCAN: 536972 out of 9999999