/* delete_row() removes a full row from the game screen and ** drops the rows above. */ void delete_row(int row) { int i,j; for(j=row; j>1; j--) for(i=1; i<=SCREEN_WIDTH; i++) { stuck[i][j]=stuck[i][j-1]; gotoxy(i*2+SCREEN_POSITION,j); if(stuck[i][j]) { putch(BLOCK_CHARACTER); putch(BLOCK_CHARACTER); } else { putch(EMPTY_CHARACTER); putch(EMPTY_CHARACTER); } } points+=10; }