redesigned playerdata and improved game over handling