added init method to Game class