had to make the code a little sloppier to fix the game win and loss save (note to fix this when I have more time)