values resetting between loops of a program even with proper validation checks? /u/st-ides_heaven Python Education

hi, put my code in a pastebin here this time for ease of use. ive made a moveValid boolean value in inputChecker to check whether a tic tac toe move is Valid or Not – and if it’s valid the Player should switch. ive used prints to try see whats happening, and even though the Player seems to correctly switch at the end of program when it repeats its back to Player A instead of B. not sure what im missing here?

https://pastebin.com/T1jXzPcw

submitted by /u/st-ides_heaven
[link] [comments]

​r/learnpython hi, put my code in a pastebin here this time for ease of use. ive made a moveValid boolean value in inputChecker to check whether a tic tac toe move is Valid or Not – and if it’s valid the Player should switch. ive used prints to try see whats happening, and even though the Player seems to correctly switch at the end of program when it repeats its back to Player A instead of B. not sure what im missing here? https://pastebin.com/T1jXzPcw submitted by /u/st-ides_heaven [link] [comments] 

hi, put my code in a pastebin here this time for ease of use. ive made a moveValid boolean value in inputChecker to check whether a tic tac toe move is Valid or Not – and if it’s valid the Player should switch. ive used prints to try see whats happening, and even though the Player seems to correctly switch at the end of program when it repeats its back to Player A instead of B. not sure what im missing here?

https://pastebin.com/T1jXzPcw

submitted by /u/st-ides_heaven
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *