I finally finished the Tic Tac Toe game, and here it is in all it’s glory. This was my first try using JS’s objects usefully, and I think it really helped with the code organization, and the general safety of variables, functions, etc. Seperating UI and the game logic looks neat and makes it easy to use.
If you find any bugs (the AI isn’t supposed to lose, and I haven’t managed it yet), or have features to suggest, I’d love to hear them. Any feedback is appreciated.