r/programmingbydoing • u/yunotip • Aug 13 '14
Project TicTacToe
How do I implement the playMove method?
2
Upvotes
r/programmingbydoing • u/yunotip • Aug 13 '14
How do I implement the playMove method?
View all comments
Show parent comment
1
u/yunotip Aug 13 '14
Thanks for doing this (the whole programbydoing site).
When I try to play the game as both a java app and applet, no symbol shows up when i click on a square or type in the row/column. Is it because I haven't finished the playMove method?
I simply copied what you had in your example main:
if (p == X) p = O; else p = X;