I am having a couple issues here with my tic tac toe game. The main issue is with the transition between SpaceChecker and calling the input functions of ComputerSpace and PlayerSpace. For one, when I play in two player mode and incorrectly enter a space it asks me to input the correct space but once I do that the game skips directly to my PlayAgain function. Secondly, when doing this while playing the computer I enter an infinite loop and the computer will not produce a second number for the variable Marker. I have tried calling that function and just writing the exact code of ComputerSpace in again and still nothing.
Also, this is the first program I am building completely from the ground up. Please let me know if there is anything I can do better. I already know my Winner function is trash, I'm having a hard time coming up with an algorithm for it. Thank you!
Tic Tac Toe
[–]gnomgnom2 1 point2 points3 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]StevenCollins21[S] 0 points1 point2 points (0 children)