player exits the game when he starves or reaches goal survival time. Also trying to print stuff to screen but not working