Tic tac toe widget is a React based JS widget for providing custom and interactive tic-tac-toe sessions. The features include :
- The board is customizable size from 3X3 to 20X20.
- Every move is validated.
- Informs user if there is a tie or if there is a winner.
- Player 'X' always starts. User is informed on who plays next.
- State of the board is maintained after every reload.
- User can choose to reset the game anytime.
Clone this repository and run the below mentioned scripts.
npm install
npm start
Use the package manager npm to install tic tac toe widget.
npm i tic-tac-toe-widget
import Widget from "tic-tac-toe-widget";
<Widget />
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.