scores automatically updating without user input, win_per no longer a global function