implemented game using Game class as controller