This is an implementation of the game "Mega Tic-Tac-Toe" we used to play in university.
I use a Tkinter window to create the GUI that looks something like this:
Of course, the layout and design could be improved a bit but the main functionalities are included.
Have fun!