   Help with delays
  I''m dairly new to programming but have learned a decent amount.  The first project I''m going to try is a basic dungen crawler simmiler to MUD''s, so no graphics (for programing practice).  My main problem is I can''t figure out how to get 2 delay loops working at the same time.EXAMPLE:The PC makes an attack that takes 5 sec''s to recover from (I know how to get seconds), The NPC (Zombie) attacks and takes 10 seconds to be able to attack agian.  My problem is getting them to continuesly go tell A) one is dead, B)user changes stratigy, C) stamina run out on one.  Every way I can think of will delay the first before checking the command of the second.Another miner problem I have is how to get input without pausing the game (The monster can continue attacking althou the Player ha yet to enter a command.)Thanx in advanced.   Technology and either save us or destroy us.  Me ... I say it will destroy us if microsoft is the example. 
  why dont you just use turn based combat if thats what you want. dodoget_attack_type()do_player_attack()do_enemt_attack()while(player_health > 0 && monster_health > 0) ;  I figured real time would give me more practice.While out, I thought up how to do the timming problem, just need to learn how to keep the loop from pausing to get an input.   Technology and either save us or destroy us.  Me ... I say it will destroy us if microsoft is the example. 