Project detail

Project detail

BlackJack Game

This project is a basic implementation of Blackjack. The goal of the game is to beat the dealer by getting as close to 21 points as possible without going over. You can play this game directly on the website linked above.

๐Ÿƒ Overview

This project is a basic implementation of Blackjack. The goal of the game is to beat the dealer by getting as close to 21 points as possible without going over. You can play this game directly on the website linked above.

๐Ÿ“œ Game Rules

  1. ๐ŸŽฏ Objective: The playerโ€™s goal is to have a hand value closer to 21 than the dealerโ€™s hand, without exceeding 21.

  2. ๐ŸƒŽ Card Values:

    • Number cards (2โ€“10): Face value

    • Face cards (Jack, Queen, King): Worth 10 points

    • Aces: Worth 1 or 11 points, whichever is more favorable for the player

  3. ๐ŸŽฎ Gameplay:

    • The player and dealer both receive two cards.

    • The player can choose to "Hit" (take another card) or "Stand" (keep their current hand).

    • The dealer reveals their hand after the player stands.

    • The dealer must hit if their hand is below 17 and stand otherwise.

    • The winner is determined based on the hand values, with 21 being the highest.

โœจ Features

  • ๐ŸŽฒ Classic Blackjack rules

  • ๐Ÿค– Dealer AI

  • ๐ŸŽจ Intuitive user interface

  • ๐Ÿ“ฑ Responsive design for desktop and mobile play

๐Ÿ’ป Technologies Used

  • HTML: Structure and layout of the game.

  • CSS: Styling for the game interface.

  • JavaScript: Logic for card dealing, game mechanics, and player interactions.

  • Netlify: Hosting the game.

โš™๏ธ Installation and Setup

If you would like to run the game locally:

  1. Clone the repository:


  2. Navigate to the project directory:


  3. Open index.html in your browser to start playing.

Alternatively, you can visit the live version of the game at: Blackjack Game

๐ŸŽฎ How to Play

  1. ๐Ÿ†• Start a Game: Click on the "Start" button to begin.

  2. ๐Ÿƒ Hit or Stand: Choose to "Hit" to receive another card or "Stand" to end your turn.

  3. ๐Ÿ† Game Result: Once you stand, the dealer reveals their cards and the winner is determined.

  4. ๐Ÿ”„ Restart: After a game, click "Restart" to play again.


Mettalic shape background image

Contact

Let's Get in Touch

Or email abdulkvng@gmail.com

Mettalic shape background image

Contact

Let's Get in Touch

Or email abdulkvng@gmail.com

Mettalic shape background image

Contact

Let's Get in Touch

Or email abdulkvng@gmail.com