game loop
function start(){
//game loop
detectCollisions(); render(); difficulty();
//end conditions
if(ballTop < 470){
//still in play - keep the loop going
timer = setTimeout('start()',50); } else{ gameOver(); } }