modified play method and added give hint methods