UPDATE: I am currently working on an update where the player can choose to go first. It will take a while, but if it interests you, you can track my progress in the code. Simply click the square that you would like to place your piece in.