/tic-tac-toe

Two player tic-tac-toe game made with Socket.io and Node.js.

Primary LanguageJavaScript

tic-tac-toe

Two player tic-tac-toe online game. Image of Tic-Tac-Toe

How to Start a Game

Go to https://tictactoe.lhernandezcruz.com.

  • First player clicks create game and sends GameID to other player.
  • Second player enters the GameID in the input box and clicks enter

Gameplay

Gameplay of Tic-Tac-Toe

  • Game is played like a regular tic-tac-toe game.
  • Upon win, loss, or tie the game can be restarted.

Setup

Prerequisites

The following are required to run the project.

Once yarn is installed run the following at the root of the project

yarn install

Starting the app

To start the app run the following

yarn start

This will start up a node server. Navigate to http:\localhost:8000 to view the app in your local browser. To refresh client side changes you must reload the page in the browser. To refresh server side changes you must restart the app (run yarn start again).

Authors