#include #include #include #include #define VIDEO 0x10 //Video interrupt #define COLS 80 //Screen width #define ROWS 25 //Screen rows #define BOTTOM_ROW 24 //Bottom Row #define CENTER_COL 39 //Center column #define BOMB 162 //bomb character void pause(int seconds); void cls(void); void locate(int col,int row); void delay(int duration); void main() { int drop; cls(); locate(CENTER_COL-3,BOTTOM_ROW); printf("REDMOND"); locate(0,0); printf("Press Enter to drop nuclear weapon:"); getch(); //This loop drops the bomb down to the city, slowly for(drop=0;drop void delay(int duration) { clock_t done; done = duration + clock(); while( done > clock() ) ; }