/tic-tac-toe

Primary LanguageTypeScript

Tic-Tac-Toe Multiplayer Game

Tic Tac Toe is traditionally played on a 3 × 3 grid. Players take turns placing a mark in one of the cells of the grid. The goal of the game is for players to position their marks so that they make a continuous line of three cells vertically, horizontally, or diagonally.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

SERVER_PORT

REDIS_HOST REDIS_PORT REDIS_PASSWORD REDIS_DB

REDIS_PUB_SUB_HOST REDIS_PUB_SUB_PORT REDIS_PUB_SUB_PASSWORD REDIS_PUB_SUB_DB

MONGODB_HOST MONGODB_DATABSE

Tech Stack

Client: HTML, CSS, JavaScript

Server: Node, Express, TypeScript, Redis, Socket.Io, Joi, Bull

Project Script

Install packages for project

  npm install

To run this project

  npm run start

Screenshots

1

2

3

4

5