2 ms·
You 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 # b
by kqr2 18y ago
You 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