Back to front pageView on Hacker News (opens in a new tab)Show HN: 18 Words (opens in a new tab)18words.com1160 pointsby pompomsheep (on Hacker News)4 months ago18words.com (opens in a new tab)18 Words - Free Daily Word PuzzleUnscramble 18 words against the clock. Official home at 18words.com. Play on PZL Games.Comments (366) 152 threadsShow all commentsShowing thread 23 of 152varun_ch4 months ago# function getPercentileText(survived) { if (survived === 18) return 'Top 1% of players today '; if (survived === 17) return 'Top 2% of players today '; if (survived === 16) return 'Top 3% of players today '; if (survived === 15) return 'Top 5% of players today '; if (survived >= 12 && survived <= 14) return 'Top 10% of players today '; if (survived >= 10 && survived <= 11) return 'Top 20% of players today '; if (survived >= 8 && survived <= 9) return 'Top 50% of players today '; return 'No trophy earned today '; } I feel like I've been lied to!
Show HN: 18 Words (opens in a new tab)18words.com1160 pointsby pompomsheep (on Hacker News)4 months ago
varun_ch4 months ago# function getPercentileText(survived) { if (survived === 18) return 'Top 1% of players today '; if (survived === 17) return 'Top 2% of players today '; if (survived === 16) return 'Top 3% of players today '; if (survived === 15) return 'Top 5% of players today '; if (survived >= 12 && survived <= 14) return 'Top 10% of players today '; if (survived >= 10 && survived <= 11) return 'Top 20% of players today '; if (survived >= 8 && survived <= 9) return 'Top 50% of players today '; return 'No trophy earned today '; } I feel like I've been lied to!
Comments (366) 152 threads
Show all comments
Showing thread 23 of 152