/* delay - Pauses for a specified number of microseconds. Used to slow * life by delaying between generations. * Params: wait - time in microseconds * Return: None */ #include void delay(clock_t wait) { clock_t t1, t2; if(!wait) return; t1 = wait + clock(); do { t2 = clock(); } while( t2 < t1 ); }