4 ms·
Thanks for playing everyone. As mentioned, I was slightly surprised to see this trending this morning given I thought it had gone nowhere in a prior submission
by fidotron 1y ago
Thanks for playing everyone.
As mentioned, I was slightly surprised to see this trending this morning given I thought it had gone nowhere in a prior submission.
Some tech details no one asked about:
* Custom WebGL2 renderer
* Leaderboards are in FoundationDB (talk about overkill)
The markov chains are a fairly standard 5 chain ensemble setup. Each chain is configured to process k-(1..5) of your previous moves (for some value of k), and base the estimate of the next move on that. The ensemble mechanism takes care of working out which to go with. This is obviously harder than if it cheated, but it's more fun. The actual markov chain component took about an hour to write, the stats was worse.
If you're interested in writing RPS players there have been many efforts http://www.rpscontest.com/ http://www.rpscontest.com/ including things as linked elsehwere here like https://daniel.lawrence.lu/programming/rps/ https://daniel.lawrence.lu/programming/rps/ .