User your mouse and click on the box where you would draw your X or O.
I used inspiration for this code online. I found it from sdizdarevic2016 and I added more to it to allow it to be functional for the AP Project.