用的作弊 贴吧已经有高手把作弊代码贴出来了
var a = {}
var color = "";
$("#box span").each(function(i,e){
if(!a[e.style.backgroundColor]){
a[e.style.backgroundColor] = 0
}
a[e.style.backgroundColor]++
});
for(x in a){
if(a[x] == 1){
color = x;
}
}
$("#box span").each(function(i,e){
if(e.style.backgroundColor == color){
console.log(e)
e.click();
return false;
}
});
写的很潦草。。。
放到代码剪切板里,点开始游戏,然后猛运行就好了