Simple game in C