I once ended up participating in rock, paper scissors strategy competition on a whim.
At that time I was quite tired of polishing and repolishing a paper draft at my university. (I write very poorly). And there it was, an announcement of this fun competition. The deadline was just an hour away.
I had no time to implement any respectable algorithm myself.
So, all my submission did was take the history of plays of my opponent, up to the present point in the ongoing joust, and extend it by three possible completions. I would compress each of the three resulting strings. Whichever completion gave the shortest compressed final string, I assumed that to be my opponent's predicted play. I played whatever beat that predicted play.
This did not win the competition, but survived the knockout for many rounds, beyond my expectation. If I remember correctly, I had used plain old zip. A compressor that converges faster would have been better.
In essence my strategy was similar to a Markov chain predictor. It would have been exact match had I used a Markov model based compressor.
The number of rounds of play against one's opponent was not long. Had it been so, Lempel-Ziv being an universal compressor, would have been hard to beat.
Of course we know from game theoretic analysis what the Nash strategy is for this game, but where is the fun in playing that ?
One might think that a transformer based player would be an excellent strategy, not necessarily. One needs to learn potentially non-stationary strategies of the opponent from very few examples - (near) zero-shot online learning is required.
If I had more time, I would have tried context-weighted trees - universal learners for stochastic strings. The failure mode would be non-ergodic plays by the opponent, assuming that, it too is another stochastic parrot.
> I write very poorly
Probably not. Most writing is self-congratulatory garbage. The best writing I've ever read was not meant to be fancy but got right to the point from the heart, by people who couldn't care less what others thought about them. Your writing in this comment was fine and easy to read.
Thanks for the kind validation.
I am still very bad as far as writing research papers go. That's one area my advisor's feedback helped a lot. Anything I wrote would need multiple passes.
My writing's bad, partly because of bad grammar and partly because once the cool results of the research is done, my heart is really not into writing it. It becomes a chore.
EDIT: I see no reason why your comment got down-voted.
Ignore the downvotes. They don't really mean anything on HN, and points fluctuate wildly over the course of 24-48 hours in both directions. I have a theory that HN literally adds random up/down votes to comments periodically just to mess with us.
The canonical rps program contest is http://www.rpscontest.com/ and many of the entries get surprisingly good.
Of course these things will always have to assume a semi strategic opponent.
Thanks !
Following your link I found this
https://daniel.lawrence.lu/programming/rps/
Submitted.
https://news.ycombinator.com/item?id=44105859
There goes my afternoon, nicely nerd sniped :) Thank you.