ludo-web-multiplayer/README.md
2023-12-19 11:00:20 +01:00

3.6 KiB

Online Multiplayer Ludo Game

>> Play Online here <<

>> Watch YouTube Video here <<

Table of content

About

Ludo Online is a multiplayer web-based implementation of the classic board game Ludo, built using the MERN stack and integrated with SocketIO for real-time communication.

Architecture

Interface

Tech Stack

Frontend: JavaScript React React Router CSS3 HTML5 MUI Backend: MongoDB Express.js Socket.io NodeJS Tests: Mocha Jest Tools: Docker AWS CircleCI Git Jira

Key Features and Challenges

  • Maintained session consistency with Express Session and MongoDB.
  • Enabled real-time communication via WebSocket and SocketIO.
  • Ensured code reliability with testing using Mocha, Chai, and Jest.
  • Hosted in a Docker container on AWS EC2.
  • Established CI/CD using CircleCI.

Installation

  1. Download this repository
  2. Generate your own mongoDB atlas credential URL. It should looks like this:
mongodb+srv://madmin:<password>@clustername.mongodb.net/<dbname>?retryWrites=true&w=majority
  1. Add this URL to the /backend/credentials.js file
  2. Perform these commands in the main directory:
npm i
npm start
cd backend
npm i
node server.js

Screenshots

Interface

Interface

Interface