Through all the if statements, it should output an X first, then an O, but for some reason, its ONLY outputting X's through all the buttons (1-9), I added a system.out.print in there for the p1turn and p2turn, and p1turn seems to always add 2 to it, and stay at the value 3, but p2turn stays at 2, as if the p1turn = p1turn + 2, and the p2turn = p2turn + 2 dont seem to count, only counts once and to p1turn.
The program pretty much runs as its supposed to until it gets to:
I was just wondering if there is anything there I cant seem to notice, like brackets, where the "counter" (p1turn, p2turn) is placed.
And Id like to thank you guys for helping me out, im learning more and more everyday