Make game_t more abstract and rewrite hangman.c and test accrodintly