game now ends after game over
fixed various bugs for the user