News for hackers. Stuff that matters.
Re:How random can you be? by kkwteh on Friday March 08, 2019 @09:53AM (#19337943)
I wrote a quick and dirty Python script that outputs a string of guesses that will beat the guesser. It keeps track of the 5-gram counters and always opts for the less-used option. If there is no less-used option it picks a random direction.

For instance, if you input RLLRRLLLLRLLRRRLLRLLLLLLRRLRLRLLLRRRRLRRRRRRLLLRLRLRRLRRLLRRLLLRRLRRLRLLRLRRRLRLRLLLRLLRLLLLLRLRLRRR it only guesses right 34% of the time.

https://gist.github.com/kkwteh/b81d8e599ec46a2d64b096f953a11...

Re:How random can you be? by sebhtml on Friday March 08, 2019 @11:09AM (#19338778)
You input length is 101.

If you "play" for a long time, eventually, all 64 6-grams will have occurred.