←back to thread

Find the Odd Disk

(colors2.alessandroroussel.com)
192 points layer8 | 1 comments | | HN request time: 0.211s | source
Show context
lucb1e ◴[] No.43746609[source]
I was wondering if it got harder or if it's just random:

    function generateColors(difficulty, blacklist) {
        ...
        let sample = Math.floor(Math.min(Math.max(0, 1-Math.pow(1-difficulty, 1.5)), .99)*5);
        let distance = (5 - sample)/5;
        ...
    }
    function setupRound(blacklist) {
        ...
        const data = generateColors(currentRound/totalRounds, blacklist);
        ...
    }
Plotting that first magic: https://lucb1e.com/randomprojects/js/testformula.htm#%24%28%...

    round#  difference
     0-- 2  5
     3-- 5  4
     6-- 9  3
    10--13  2
    14--20  1
The "blacklist" parameter prevents that you get the same challenge twice. Note also that it submits every answer to the server (fine imo, but I think it would be even nicer if this was mentioned on the page)
replies(2): >>43747603 #>>43750004 #
1. readingnews ◴[] No.43750004[source]
Thanks for posting, I thought the same thing... my (useless data point of one) results showed 100% accuracy except the last four, which I thought "wow, I am just guessing now, can literally not see a difference".