Skip to content

🃏 Blackjack Game in JavaScript. Play a classic game of Blackjack right in your browser! This web-based Blackjack game is built using JavaScript, powered by Vite, and leverages Underscore.js for enhanced functionality. Try your luck and sharpen your card skills.

Notifications You must be signed in to change notification settings

ferjencoder/06-black-jack

Repository files navigation

Blackjack Game

GitHub stars GitHub forks GitHub license

A simple Blackjack game implemented in JavaScript, using Vite as the build tool and Underscore.js for utility functions.

Table of Contents

Demo

You can play the game live here.

Features

  • 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.

Installation

Follow these steps to set up and run the project locally:

  1. Clone the repository:
git clone https://github.com/your-username/your-repo-name.git
  1. Navigate to the project directory:
cd your-repo-name
  1. Install dependencies:
npm install

Usage

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.

Contributing

Contributions are welcome! If you want to contribute to this project, please follow these steps:

  1. Fork this repository.
  2. Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
  1. Make your changes and commit them:
git commit -m "Add your commit message here"
  1. Push your changes to your fork:
git push origin feature/your-feature-name
  1. Create a pull request against the main branch of this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

🃏 Blackjack Game in JavaScript. Play a classic game of Blackjack right in your browser! This web-based Blackjack game is built using JavaScript, powered by Vite, and leverages Underscore.js for enhanced functionality. Try your luck and sharpen your card skills.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published