I developed this Tic Tac Toe application in JavaScript in an attempt to simplify and demonstrate machine learning with
an actual and readable working example. This application applies machine learning algorithms and basic statics in order to learn and adapt
without explicit instructions.
Aside from moving randomly while there is no data to analyze, like during the first game,
there is no hard-coded source code that tells the app where to move. Instead, the app analyzes the game board and each game played
to determine its moves. The more you play well, the more the app should get better. First, it'll start to tie games, and then
eventually it should start to win.
You are player X and the app is Player O. Since the app needs you to teach it, you will go first. The app saves every game using indexedDB.
Pressing the reset button will clear out the app's memory. You can also choose either a 3x3 or 5x5 game board.