Refactor Game to handle user input and output; change test code to reflect this