Added C version of the game