14 points · by drusenko · 19y ago · 38 comments
http://www.icfpcontest.org/ And ICFP contests are always fun
And actually, I couldn't get curl to work... I'm guessing I wasn't setting the referrer or user agent right or something.
Obviously.
Firebug rocks.
function solvePuzzle() {
var t = new Date()
var time = t.getTime();
var params ="";
params += 'pos=solvepuzzle';
params += "&";
params += 'auth=' + time.toString();
new Ajax.Request('/weebly/publicBackend.php', {parameters:params, onSuccess:handlerSolvePuzzle, onFailure:function() { alert('Transmition error. Please try again.'); }});
}
solvePuzzle();YWxlcnGZvbGxvd2luZzogQoJ1zZWNyZXQgY29kZSB1zZWNyZXQgGZvbGxvd2luZzogY29pczYioyK==