Added option to reset game on death
Made code PEP8 compliant