Totally Tic-Tac Tubular, Bro!



New Game

Objective

My objective was to create a working Tic Tac Toe game. I used HTML, Javascript, and a small amount of SVG to accomplish this.

Problem

A problem that came up was the player's ability to sabotage the game. They could click on an already claimed tile and change it to their own and cheat.

Solution

I solved this by adding a condition to the clicking function that made it so whenever someone clicked, it would only change to a X or O if the file being clicked on was blank.