If you want to do it that way, then you should pass gameover by reference. Personally, I would prefer to return a value because it might not be necessary to have the gameover variable to begin with,...
Type: Posts; User: laserlight
If you want to do it that way, then you should pass gameover by reference. Personally, I would prefer to return a value because it might not be necessary to have the gameover variable to begin with,...
It seems to me that ask_rematch should return a bool, and this value is then assigned to gameover. There is no need to pass gameover to ask_rematch because if you are calling ask_rematch, then...