Closed benjaminaaron closed 9 years ago
setTimeout
into fire()
of AbstractBot?randIndex
in freeCells
array instead of while(!ok){}
loopTip by @bbuecherl: to avoid the constant use of this.var
in prototype-functions of an object, use this method:
var Obj = function() {
var x = 1;
return {
y: 2,
func: function() {
console.log('x is ' + x); //can use x instead of this.x
},
}
};
var test = new Obj();
console.log(test);
test.func();
console.log('y is ' + test.y);
setCellStatusesAroundShipToSpare
from AbstractPlayer
also for position verification in ship-setup-mode instead of the (weird) neighbourBlast
method.moving project and task management to external tool
Collecting some minor ToDo's that aren't worth opening an issue for by themselves.