| ▲ | Show HN: Brain Frog – Can you be random enough for 11 lines of JavaScript?(brainfrog.lol) | |||||||||||||||||||||||||||||||
| 33 points by AlexanderZ 6 days ago | 28 comments | ||||||||||||||||||||||||||||||||
| ▲ | mike_hock 2 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||
You should make one where you can play against the branch predictors of various processors. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | escanor an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
pure random player:
"cheating" player:
is it possible to do any better? i haven't fully read frog/oracle code | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | hash0 21 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
I got 50 hits in 100 tries. That being said, I did not particularly like hitting that poor frog :'( Yes, I am the kind of player who would never choose the rude option when talking to an NPC. | ||||||||||||||||||||||||||||||||
| ▲ | IdiotSavage 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
If you want to see what a random distribution looks like:
I noticed my "fake randomness" is lacking long sequences of the same key. I feel like I'm "predictable" when I press the same key 5 times in a row, yet that happens a lot in a truly random distribution. | ||||||||||||||||||||||||||||||||
| ▲ | user- 3 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
I am briefly in the top ten after completely misunderstanding the rules nicee | ||||||||||||||||||||||||||||||||
| ▲ | brtkwr 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Would be fairer if the frog occasionally got to throw a punch or two... | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | ramon156 44 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Leaderboard has been overtaken :( | ||||||||||||||||||||||||||||||||
| ▲ | jmpavlec 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Looks like the leaderboard was hacked unfortunately. Fun little concept. | ||||||||||||||||||||||||||||||||
| ▲ | momoraul 5 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
46 and that was my ceiling. frogs smarter than me. | ||||||||||||||||||||||||||||||||
| ▲ | sscaryterry 6 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
That was fun, got up to 79 :) | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | andai 3 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Woah, neat. Is this like, a Markov chain? | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | digitalWestie 3 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Just wanted to give the little guy a hug | ||||||||||||||||||||||||||||||||
| ▲ | jv22222 3 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
How many pixels wide is the hit zone? | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | vyrotek 3 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Bam! 50 on the first try. Fun. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | ozyschmozy 3 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Why does a silly little online game need my email to send a one-time login code? What a strange experience | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | uberex 5 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||
Free?!. Is there a "call us" SSO enabled plan? | ||||||||||||||||||||||||||||||||