Earn extra honor and gain new allies!
Honor is earned for each new codewarrior who joins.
Learn more

A really arcaic calculator for pi, that takes ages to get a little precision.

var ex431 = function(tries){
    var inc=0, outc=0, x, y;
        x =  Math.random();
        y =  Math.random();
        if (x*x + y*y <= 1) inc++;
        else outc++;
    return inc/(inc+outc);