I would like to make something like Snake, Tetris or Pacman as a console aplication.
I want to make my program wait a small amount of time for user input before it goes back to doing whatever it is doing.
Take Tetris for example. I want the aplication to wait a second for one or more keystrokes and make the coresponding adjustments before the blocks move one square lower.
Is there a way to do that in c?