tic_tac_toe
Structure
I have used Java Swings to implement the logic. There is a board and a refresh button inside the frame.
The Logic
Everytime when you make a move by clicking the box, an IMAGE shows up on the button. It is either a "X" or "O". The Refresh Button resets the board.