modifying game class for more functionality.