So... you wanna train a neural net?
Brain.js makes it SUPER easy. The docs are great - go have a read!
Remember to install your dependecies:
npm install
Then you can train the model with:
npm run train
The repo currently uses multi-label training data from:
http://www.connellybarnes.com/work/class/2016/deep_learning_graphics/proj1/
Some single label data is included as well.
Hunting for some other data to use?
Kaggle has some nice data: https://www.kaggle.com/fabdelja/tictactoe
But theres loads of others: https://archive.ics.uci.edu/ml/datasets/Tic-Tac-Toe+Endgame