This project is a web-based platform for playing the Sequence board game online. It features real-time gameplay, allowing players to interact and compete live. The frontend is built with ReactJS, providing a responsive and intuitive user interface, while the backend is powered by Node.js (ExpressJS), ensuring efficient server-side logic and synchronization. WebSockets are utilized to enable real-time interactions, and MongoDB is used for scalable data storage.
- Real-time Gameplay: Uses WebSockets to facilitate live interactions among players.
- Responsive UI: Built with ReactJS to ensure a smooth and intuitive user experience across devices.
- Robust Backend: Powered by Node.js (ExpressJS) for efficient server-side logic.
- Comprehensive Testing: Utilizes Jest for testing to ensure robustness and performance.
- Persistent Storage: Employs MongoDB to manage user profiles and game states across sessions.
- Frontend: ReactJS, TailwindCSS
- Backend: Node.js, ExpressJS
- Real-time Communication: WebSockets (Socket.io)
- Database: MongoDB
- Testing: Jest
- Containerization: Docker
- Node.js
- npm (Node Package Manager)
- Docker (for containerized setup)
-
Clone the repository
git clone https://github.com/AnishmMore/sequence-board-game.git cd sequence-board-game
-
Install dependencies
Sure, here's the fixed markup for better readability:
# For the frontend:
cd ../frontend
npm install
# Running the Application Using Docker
Ensure Docker is running on your machine.
## Build and run the containers
```sh
docker-compose up --build
- Frontend: http://localhost:3000
- Backend: http://localhost:5000
Without Docker
-
Start MongoDB Ensure you have MongoDB running locally or use a MongoDB cloud service.
-
Start the backend
cd backend
npm run
- Start the frontend
cd ../frontend
npm run dev
- Frontend: http://localhost:3000
- Backend: http://localhost:5000
Run tests using Jest:
cd backend
npm test
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License. See the LICENSE
file for details.
Anish More - amore159@ucr.edu
Project Link: https://github.com/AnishmMore/sequence-board-game