MultiClock is perfect for preventing multiplayer games from lasting too long, whether they're played online or in person. I decided to build this project after a game of 4-player chess with friends lasted over 3 hours!
- Head on over to multiclock.brookmaodev.me
- Click the 'Create Game' button and fill out the form to create a new game that users can join.
- Have your friends click the 'Join Game' button and fill out the form to join the game.
- Once everyone has joined, click 'Start' to begin the multiplayer clock.
- Frontend: React, Tailwind CSS
- Backend: Node, Express, Socket.IO
- Database: MongoDB
- HTTPS Encryption: NGINX, Let's Encrypt
- Deployment: Amazon EC2 (Linux), Docker, GitHub Actions
Follow these steps to build and run MultiClock locally:
-
Fork the repository by clicking the "Fork" button at the top right of the repository page on GitHub.
-
Clone your forked repository using the following command, replacing
<your-username>
with your GitHub username:git clone https://github.com/<your-username>/MultiClock.git
-
Install Docker Desktop from here.
-
Open a terminal in the repository directory and run the following command to build and start the containers:
docker-compose -f "docker-compose.yml" up -d --build
-
Open your web browser and go to http://localhost to access MultiClock.