This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var counter = 0; | |
function flappyai() { | |
if (ingame && !gameover) { | |
var next = 0; | |
var nextx = 10000; | |
var nexty = 100; | |
for (var i = 1; i <= 3; i++) { | |
var tube = $("#tube" + i).get(0).style.left; | |
tube = Number(tube.substring(0,tube.length-2)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var counter = 0; | |
function swimmyai() { | |
var x = james.center.x; | |
var y = james.center.y; | |
var ice = iceburgs[0]; | |
if (ice) { | |
if (x > ice.x + 100) ice = iceburgs[1]; | |
var top = ice.IceburgTopUnderWaterHeight + ice.IceburgTopY; | |
var odx = ice.x - x; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var scripts; | |
while ((scripts=document.getElementsByTagName("script")).length) { | |
for (var i = 0; i < scripts.length; i++) { | |
scripts[i].parentNode.removeChild(scripts[i]); | |
} | |
} | |
var els = []; | |
var count = 0; | |
var stack = [document.body]; |