I am making a simple tic tac toe game and wanted to have a stats section after someone stops playing. Whenever a match is played it should add to the stats depending on what they picked and if they won or not. However, the variables keeping track of the stats always print as zero not matter what I change.
As seen in the picture after I picked rock and won, I say no to stop playing but the “wins” variable prints as “0” even though it should be “1”.
New contributor