Skip to content

Roopaksh1/online-tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

TIC TAC TOE

Play Tic-Tac-Toe against other users by creating a room and sharing that room ID
Live 👇

image

Features

  • User login system.
  • Rematch feature.
  • Chat with opponent.

Features I Am Working On

  • Store records: Matches Played | Win | Draw | Lose
  • Offline Mode

Built With

Installation

  • To run this project, you will need to add the following environment variables to your .env file
Inside Server
DB_URL
PORT

Inside Client
REACT_APP_SERVER
REACT_APP_LOGIN
REACT_APP_SIGNUP
  • Clone the Repo
git clone git@github.com:Roopaksh1/online-tic-tac-toe.git
  • Install the dependencies
cd client
npm install

cd server
npm install
  • Run the server
cd server
node index.js
  • Run the client
cd client
npm start

Usage

  • Open your browser and navigate to http://localhost:3000/

  • Sign up image

  • Create a Room image image

  • Join room from different tab with same roomID

  • Start Playing