added:

-a thread to increase the time for in the game
-a thread for the keys