A simple Tic-Tac-Toe game using react JS contains both player vs player and player vs computer.
Tic-tac-toe or Xs and Os is a paper-and-pencil game for two players who take turns marking the spaces in a three-by-three grid with X or O. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner. It is a solved game, with a forced draw assuming best play from both players. source
must be installed before installing the project.
must be installed to clone this project.
- Operating System used is Windows (Note: in linux i have not tested it).
- You may use any editor of your choice (Recommended VS Code).
- Fork the Project and clone Repository using git clone
git clone https://github.com/SubramanyaKS/Tic-Tac-Toe.git
- Install all dependency in package.json
npm install
- Run application using command
npm run dev
- Automatically open the website in localhost
http://localhost/5173
We welcome contributions! If you'd like to contribute to Tic-Tac-Toe, please follow our Contribution Guidelines.
Subramanya K S
- GeeksForGeeks
- Wikipedia
- React
- VS Code
If you like the project 🌟 the repository.
Thank you with ❤ Subramanya KS