3 ms·
"Against me, you've won 28 games, lost 14 games, and tied 18 games." Is there an api that we can use to create our own rps decider to play against your site or
by tl 18y ago
"Against me, you've won 28 games, lost 14 games, and tied 18 games."
Is there an api that we can use to create our own rps decider to play against your site or other people?
- dangoldin 18y agoThis isn't my site. I just stumbled into it.
- kqr2 18y agoYou should be able to make requests of the form: http://iterationprojects.com/rps/?mode=p&id=<integer player id>&rps=<r,p, or s>&result=<t,w,l>&r=<random # between 0 and 100000> where: r,p,s represent your rock, paper or scissors choice. t,w,l represents whether tie, win, or loss against previous prediction The response will be like: Prediction: p I have played a total of 25751 games. I've won 40.895% of those -- 33% would be chance . (7537 ties, 10531 wins, 7683 losses.)<font color=white> strat1 (0, 0, 0, 0, 0, 0) using prior</font ><p> where the computers next move is charAt(12), in this case 'p':paper