Welcome to the Online Blackjack Game project! 🚀 This project is built using Next.js and allows you to play a thrilling game of Blackjack with your friends in real-time.
Follow these simple steps to set up the project locally:
-
Clone the repository to your machine:
git clone https://github.com/loudsheep/blackjack.git
-
Navigate to the project directory:
cd blackjack
-
Install dependencies in root and SOCKET_SERVER folder:
npm install cd ./SOCKET_SERVER npm install
-
Copy the
.env.example
file and rename it to.env
:cp .env.example .env
-
Open the
.env
file and set the required environmental variables:MONGODB_URI=your_mongo_url
Replace
your_mongo_url
with the appropriate mongodb connection string.
Now that you have everything set up, run the project locally with the following commands:
npm run dev
npm run node
Visit http://localhost:3000 in your browser to play the Online Blackjack Game.
- Real-time multiplayer Blackjack game.
- Interactive and user-friendly interface.
- Enjoyable gaming experience with friends.
We welcome contributions! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.