");
document.write( "
");
// ----- game main timer event
// ----- enemy come one step
function come(){
var n = poor_rand();
document.fm2.elements[ width_n * enemy[n+1] + n].checked = true;
enemy[n+1]++;
if( enemy[n+1] < height_n){
setTimeout("come()", wtime);
}else{
gameover = true;
document.fm1.message.value = "انتهت اللعبة والنتيجة هي:" + score ;
}
}
// ----- Fire the n th beam
function fire( n){
if( gameover ) return;
for( var i=0; i
100){ wtime -= 10};
}
// ---- initialize & start game
function game_start(){
for( var n=0; n
' rows='12' cols='52'>