An open API service indexing awesome lists of open source software.

https://github.com/ferjencoder/06-black-jack

🃏 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.
https://github.com/ferjencoder/06-black-jack

blackjack-game card-game casino-games front-end frontend gaming gaming-website javascript javascript-game responsive-design underscore vite web-development

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Blackjack Game

![GitHub stars](https://img.shields.io/github/stars/your-username/your-repo-name)
![GitHub forks](https://img.shields.io/github/forks/your-username/your-repo-name)
![GitHub license](https://img.shields.io/github/license/your-username/your-repo-name)

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

## Table of Contents

- [Demo](#demo)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## Demo

You can play the game live [here](#insert-demo-link).

## 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:
```bash
git clone https://github.com/your-username/your-repo-name.git
```

2. Navigate to the project directory:

```bash
cd your-repo-name
```

3. Install dependencies:
```bash
npm install
```

# Usage
To start the development server and play the game, use the following command:
```bash
npm run dev
```

This will start the development server, and you can access the game in your browser at http://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:
```bash
git checkout -b feature/your-feature-name
```
3. Make your changes and commit them:
```bash
git commit -m "Add your commit message here"
```
4. Push your changes to your fork:
```bash
git push origin feature/your-feature-name
```
5. 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.