made some fixes so correct player is shown to have lost

added ending sound, added stuff using time.time() to maybe make
counting down easier