added a warning level 1,2,3 depending on how close the player comes to losing