This is in no way a comprehensive tic taco toe game.
You can try it out here or fork this repo and customize it for your needs (recommended).
This was made in under an hour so the only things you can configure is board size and win-by length which can be found as constants in /index.js.