title: Sleep or wait that doesnt stop the whole program?
body: <p>So I'm pretty new with programming from scratch, have mainly used unity for a few years up untill now so my general programming knowledge is pretty good. Started studying game development at a university after summer though where we began programming from scratch and as a task we have to make a simple game in a 2D engine we made together in class.</p>
  
  <p>So the game I decided to make was a copy of bomberman and I've gotten as far as where I'm now making the bombs functional.</p>
  
  <p>The problem I'm having is that I don't know how to propperly add in a timer that counts down the time to where the bomb exlpode so the player can avoid it.</p>
  
  <p>I've tried SDL_Delay and _sleep which both just pause the entire program so that doesn't work and I've searched around for more options but not really understood how things work. If I could get some expamples and links to pages that explains how to properly make something like this work (something easy and small hopfully :P) then that would be highly appreciated!</p>
  
  <p>Note that we are using SDL in the engine.</p>
  
  <p>Thanks! </p>