(Yep it’s me again)
DISCLAMER, THIS IS VERY LONG, PLEASE DON’T BE INPATIENT READING THIS EVEN ITS HARD NOT TO
Well I can see a few more problem other than the current_score not adding up
Until now, I saw a few problem is in your code.
First one, I can see you added a few things to game() but not fixing the current_score problem, you can fix that in many ways, 3 of them I have replied earlier
Second one, I can see you added more arguments to the game function, which is unnecessary for me, and it produced more problems than it before having more arguments:
First, you added argument chosen_two, this is being declared global in line7, as it is living directly in main’s directory. Declaring it within function or so, in this case is argument in function, makes everything inside to be local, not affecting the one declared in line7. For now it doesn’t cause trouble but it is a risk factor for the program to fail, big one.
Second is the game_stop argument, like why? You declared it as global, in line 44, fixed the problem that the game won’t stop as @QwertyQwerty54 mentioned earlier, but you made it local, again, in the game function, which make the code in line 44 nearly useless, going straight to the point: Everything is done with the argument game_stop but not the global game_stop used for ending the game.
Third one, your choose_new(chosen_two) in line 36 calling to line 25 confused me. There is a same mistake as what caused the problem you opened this question for, but this time it doesn’t fail, why?
It is because you are calling it inside the variable, with the same variable. Confusingly but thankfully, it caused the chosen_two variable to change, just like what the choose_twoh) function is meant to do, just in a complete different way by editing it as enclosing scope.
In short, task failed successfully.
Fourth one, if this is designed on purpose ignore this, but for choose_new function in line 25 to 31, you replaced the versus with something new, but only changed the second one. Which in short, the first one will always be the same unless you restart the entire program.
These are all problem or risk I found and feedback in a over complicated way, I hope this can help making your program work as intended