0
![Programming Puzzles & Code Golf](http://cdn.sstatic.net/Sites/codegolf/img/apple-touch-icon.png)
bounce
function([,x,y],{length:width,[0]:{length:height},[x++]:{[y++]:floor}},{},[current_round]){
//wait if floor can be painted
if(floor===0)
return "wait";
//set velocity at lower limit
this.vx|=x===1;
this.vy|=y===1;
//reset velocity at upper limit
this.vx&...