-
Go to https://onlinetictactoe.vercel.app (currently server is down)
-
Create a room or Join an existing room using the room code
-
That's it! ๐
- The game is played on a 3x3 grid
- If you are the creator of a room then you will be X else O
- The first player to get 3 of their marks in a row (up, down, across, or diagonally) is the winner.
- When all 9 squares are full, the game is over. If no player has 3 marks in a row, the game ends in a tie.
-
An adequate version of
node.js
is installed. Here's the adequate version I use :$ node -v v12.15.0
-
An adequate version of
npm
is installed. Here's the adequate version I use :$ npm -v 6.14.4
-
An adequate version of
yarn
is installed. Here's the adequate version I use :$ yarn -v 1.22.4
-
Clone this repository to your local directory
$ git clone https://github.com/amsavarthan/tictactoe.git
-
Change your directory to project directory
$ cd tictactoe
-
Install the required dependencies by executing the command
$ yarn install
-
Start the app
$ yarn start
-
Open http://localhost:3000 to view it in the browser.
Backed by tictactoe-server โจ