I wrote a Board.java class which
- draws the initial board
- draws the Reset button
- draws the label to indicate whose turn is it
In the Main class:
I initialized a Pane.
Initialized the Board's board object(I had put a constructor).
And added these stuffs to scene
My next concern is that I want to add event handling. i.e.
When user presses in a certain cell at their turn, 'X' or 'O' should be drawn into the board.
I am not looking for the logic instead for the organization of code.
It is a huge zigzag situation.