Multithreaded frogger game in C