Intro to React with Tic-Tac-Toe
An article about NPM scripts - 101
NPM scripts are basically an alternative to gulp or grunt, similar to aliases for long CLI commands.
state
Stores the current state of board in an array in JScheckWin
Checks whether either player has won the game or not, returnstrue
orfalse
resetGame
Resets the state of the game, virtually and in the DOMBotTurn
It is the basic AI I am using, it is Dumb, it is just random