A simple Blackjack game implemented in JavaScript, using Vite as the build tool and Underscore.js for utility functions.
You can play the game live here.
- Player vs. Dealer Blackjack game.
- Shuffle and deal cards using Underscore.js.
- Real-time score tracking.
- Betting system (virtual currency).
- Win, lose, and tie conditions.
- Responsive design for desktop and mobile.
Follow these steps to set up and run the project locally:
- Clone the repository:
git clone https://github.com/your-username/your-repo-name.git
- Navigate to the project directory:
cd your-repo-name
- Install dependencies:
npm install
To start the development server and play the game, use the following command:
npm run dev
This will start the development server, and you can access the game in your browser at http:https://localhost:3000.
Contributions are welcome! If you want to contribute to this project, please follow these steps:
- Fork this repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
- Make your changes and commit them:
git commit -m "Add your commit message here"
- Push your changes to your fork:
git push origin feature/your-feature-name
- Create a pull request against the main branch of this repository.
This project is licensed under the MIT License - see the LICENSE file for details.