Skip to content

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

Notifications You must be signed in to change notification settings

sjborbajr/tic-tac-toe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.2%
  • HTML 17.9%
  • CSS 7.9%