This project is a Tic-Tac-Toe game, Single Page Web Application(SPA) built using
React JS
andVite
.
It was built as a second part in a journey series leading upto the creation of an online version of the game that can be played between 2 players/users over the internet.
It was built to test out and have the feel of rendering the game on a webpage before moving on to creating its multiplayer version, and it follows a
Tic-Tac-Toe
game that was built to be rendered in aterminal/console
which can be found here
- Being able to choose between playing against a freind or playing against the computer.
- ReactJS
- Vite
- Yarn
tictactoe4.mp4
- Yarn
- Node should be installed on your computer.
-
Clone the repository to your local machine by running
git clone git@github.com:RNtaate/Tic-Tac-Toe-React.git
in your terminal -
On your local machine, navigate to the game folder using
cd Tic-Tac-Toe-React
in your terminal -
Run
yarn
to install all the necessary dependencies. -
Run
yarn run dev
to start the application on a local server
There are two ways of contributing to this project:
-
If you see something wrong or not working, please check the issue tracker section, if that problem you met is not in already opened issues then open the issue by clicking on
new issue
button. -
If you have a solution to that, and you are willing to work on it, follow the below steps to contribute:
-
Fork this repository
-
Clone it on your local computer by running
git clone git@github.com:RNtaate/Tic-Tac-Toe-React.git
Replace RNtaate with the username you use on github -
Open the cloned repository which appears as a folder on your local computer with your favorite code editor
-
Create a separate branch off the main branch,
-
Write your codes which fix the issue you found
-
Commit and push the branch you created
-
Raise a pull request, comparing your new created branch with our default branch here
-
👤 Roy Ntaate
- Github: @RNtaate
- Twitter: @HydeCannonOG
- Linkedin: roy-ntaate
Give a ⭐️ if you like this project!
- The UI Design partly inspired by LLiana Dimitrova at www.behance.net