An open API service indexing awesome lists of open source software.

https://github.com/subramanyaks/tic-tac-toe

Implementation of Tic Tac Toe Game using React JS with both player vs player and player vs Ai
https://github.com/subramanyaks/tic-tac-toe

react reactjs tic-tac-toe tic-tac-toe-game tic-tac-toe-react tictactoe tictactoe-game

Last synced: about 2 months ago
JSON representation

Implementation of Tic Tac Toe Game using React JS with both player vs player and player vs Ai

Awesome Lists containing this project

README

          

# Tic-Tac-Toe

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](https://en.m.wikipedia.org/wiki/Tic-tac-toe)

---

### Technology.

* ![React JS](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)
* ![Bootstrap](https://img.shields.io/badge/bootstrap-%23563D7C.svg?style=for-the-badge&logo=bootstrap&logoColor=white)
* ![VS Code](https://img.shields.io/badge/Visual_Studio_Code-0078D4?style=for-the-badge&logo=visual%20studio%20code&logoColor=white)
---
### Prerequisits.

* [![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge&logo=node.js&logoColor=white)](https://nodejs.org/) must be installed before installing the project.
* [![Git](https://img.shields.io/badge/git-%23F05033.svg?style=for-the-badge&logo=git&logoColor=white)](https://git-scm.com/) 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).

---
### Run and Setup

1. Fork the Project and clone Repository using git clone

```
git clone https://github.com/SubramanyaKS/Tic-Tac-Toe.git
```

2. Install all dependency in package.json

```
npm install
```

3. Run application using command

```
npm run dev
```

5. Automatically open the website in localhost

```
http://localhost/5173
```
---

### Contribution

We welcome contributions! If you'd like to contribute to Tic-Tac-Toe, please follow our [Contribution Guidelines](https://github.com/SubramanyaKS/Tic-Tac-Toe/blob/main/CONTRIBUTING.md).

---
### Author

**Subramanya K S**

---
### Credits.

* GeeksForGeeks
* Wikipedia
* React
* VS Code

If you like the project 🌟 the repository.

Thank you with ❤ Subramanya KS